diff options
author | 2018-03-27 12:57:53 +0200 | |
---|---|---|
committer | 2018-03-27 12:57:53 +0200 | |
commit | 440d34023d8ad1864ebaecf6a7f70dd717710feb (patch) | |
tree | 265621b0c00f9469488d66d2700939ab62977740 /extra/docker/elk/tools/DMaaPServiceMocker | |
parent | e43106fe1e1112747bf94190ff05c3d1a2e8226d (diff) |
Incorrect environment
Change-Id: If5e81b735646c507dea46dcea86ceb08e0ef2442
Issue-ID: CLAMP-124
Signed-off-by: ac2550 <ac2550@intl.att.com>
Diffstat (limited to 'extra/docker/elk/tools/DMaaPServiceMocker')
-rwxr-xr-x | extra/docker/elk/tools/DMaaPServiceMocker/ds_mocker.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/extra/docker/elk/tools/DMaaPServiceMocker/ds_mocker.py b/extra/docker/elk/tools/DMaaPServiceMocker/ds_mocker.py index 9891b8ef..05c1b986 100755 --- a/extra/docker/elk/tools/DMaaPServiceMocker/ds_mocker.py +++ b/extra/docker/elk/tools/DMaaPServiceMocker/ds_mocker.py @@ -194,11 +194,6 @@ class CLStatus(object): yield Notification.final().success(**config) raise StopIteration() -DMaaPMessage.dmaap_host_url = "http://uebsb93kcdc.it.att.com:3904" -Event.topic = "APPC-TEST-AMDOCS1-1607-E2E" -Notification.topic = "APPC-TEST-AMDOCS1-1607-IST" -# Request.topic = "APPC-TEST-AMDOCS1-1607-RY303T" - test_datas = [CLStatus(missing=False, disabled=False, op_failure=False) for i in range(45)] \ + [CLStatus(missing=True, disabled=False, op_failure=False) for i in range(5)] \ + [CLStatus(missing=False, disabled=True, op_failure=False) for i in range(6)] \ @@ -209,7 +204,6 @@ random.shuffle(test_datas) for current_i, status in enumerate(test_datas): time.sleep(random.randint(0,6)) for s in status: - # print(s) status_code = s.publish() if status_code != 200: print("Error when publishing : status_code={}".format(status_code)) |