diff options
author | 2020-05-11 11:16:16 +0200 | |
---|---|---|
committer | 2020-05-11 11:16:16 +0200 | |
commit | afef2a726fd84110c3c6d45c98227009f91ea09d (patch) | |
tree | 8faf44129a68893b74a8abace4f4f70f68b659c5 | |
parent | 1d7525f0379dcd0fc00f40bc0fa46cf11d97e4db (diff) |
Refactor sanity check
Issue-ID: INT-1533
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: Ifbbdb73b03aa975ae9cabc1d91be60e1012fb01b
-rw-r--r-- | sanitycheck/README.md | 32 | ||||
-rw-r--r-- | sanitycheck/events/eventToVes.json | 1 |
2 files changed, 17 insertions, 16 deletions
diff --git a/sanitycheck/README.md b/sanitycheck/README.md index 9fb4929..ad5f3e3 100644 --- a/sanitycheck/README.md +++ b/sanitycheck/README.md @@ -14,39 +14,41 @@ You have to change the IP address in file events/vesAddressConfiguration.json "vesServerUrl": "http://<IP_Address>:8080/eventListener/v7" } ``` -and in file events/eventToVes.json - -``` -{ -"vesServerUrl": "http://<IP_Address>:8080/eventListener/v7", -"event": { ... -``` ### 1. Build Projects ``` make start ``` -### 2. Send one event +### 2. Reconfigure ves url ``` -make generate-event +make reconfigure-ves-url ``` ### 2.1 Check dmaap sim +should return empty list ``` make check-dmaap ``` -### 3. Send few events: -### 3.1 Reconfigure ves url +### 3. Send one event +### 3.1 Send events: ``` -make reconfigure-ves-url +make generate-event +``` +### 3.2 Check dmaap sim +should return list containing 1 event +``` +make check-dmaap ``` -### 3.2 Send events +### 4. Send few events: +### 4.1 Send events +this will send 4 event with interval 1 second ``` make generate-multiple-events ``` -### 3.3 Check dmaap sim +### 4.2 Check dmaap sim +should return list containing 5 event (1 from point 3.1 and 4 from point 4.1) ``` make check-dmaap ``` -### 4. Clear environment +### 5. Clear environment ``` make stop ``` diff --git a/sanitycheck/events/eventToVes.json b/sanitycheck/events/eventToVes.json index 7299306..8d37f5a 100644 --- a/sanitycheck/events/eventToVes.json +++ b/sanitycheck/events/eventToVes.json @@ -1,5 +1,4 @@ { - "vesServerUrl": "http://172.17.0.1:8080/eventListener/v7", "event": { "event": { "commonEventHeader": { |