From 74c616ec5687f2c5af4279bda26ec21fe07b8ded Mon Sep 17 00:00:00 2001 From: ac2550 Date: Wed, 28 Mar 2018 14:42:49 +0200 Subject: CL generation produce too long CL names Change-Id: If352b7db31ec388cf685eda7a71a140061d92a4d Issue-ID: CLAMP-77 Signed-off-by: ac2550 --- extra/docker/elk/tools/DMaaPServiceMocker/ds_mocker.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'extra/docker') diff --git a/extra/docker/elk/tools/DMaaPServiceMocker/ds_mocker.py b/extra/docker/elk/tools/DMaaPServiceMocker/ds_mocker.py index c1116066e..8710c3306 100755 --- a/extra/docker/elk/tools/DMaaPServiceMocker/ds_mocker.py +++ b/extra/docker/elk/tools/DMaaPServiceMocker/ds_mocker.py @@ -18,11 +18,11 @@ def now_notification_time(): return datetime.now().strftime("%Y-%m-%d %H:%M:%S.%f+00:00") CONTROL_LOOP_NAMES = [ - 'ClosedLoop-vUSP-SIG-d925ed73-8231-4d02-9545-db4e101f88f8', - 'ClosedLoop-vUSP-SIG-37b1c91e-fd6b-4abd-af15-771902d5fdb1', - 'ClosedLoop-vUSP-SIG-c2597657-7113-4efb-a1f9-397a7a24c3e1', - 'ClosedLoop-vUSP-SIG-a11318ba-4c61-46b8-a9da-bd40bec11d45', - 'ClosedLoop-vUSP-SIG-5321c558-2254-4efb-ac24-99dd54edc94f', + 'CL-vCPE-d925ed73', + 'CL-vCPE-37b1c91e', + 'CL-vCPE-c2597657', + 'CL-vCPE-a11318ba', + 'CL-vCPE-5321c558', ] TEMPLATES = { @@ -202,7 +202,7 @@ def print_usage(): def push(test_datas): for current_i, status in enumerate(test_datas): - time.sleep(random.randint(0,6)) + time.sleep(random.randint(0,3)) for s in status: # print(s) status_code = s.publish() -- cgit 1.2.3-korg