From 440d34023d8ad1864ebaecf6a7f70dd717710feb Mon Sep 17 00:00:00 2001 From: ac2550 Date: Tue, 27 Mar 2018 12:57:53 +0200 Subject: Incorrect environment Change-Id: If5e81b735646c507dea46dcea86ceb08e0ef2442 Issue-ID: CLAMP-124 Signed-off-by: ac2550 --- extra/docker/elk/tools/DMaaPServiceMocker/ds_mocker.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'extra/docker/elk/tools/DMaaPServiceMocker') diff --git a/extra/docker/elk/tools/DMaaPServiceMocker/ds_mocker.py b/extra/docker/elk/tools/DMaaPServiceMocker/ds_mocker.py index 9891b8ef6..05c1b9861 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)) -- cgit 1.2.3-korg