aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dcaegen2/testcases/resources/robot_library/DmaapLibrary.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dcaegen2/testcases/resources/robot_library/DmaapLibrary.py')
-rw-r--r--tests/dcaegen2/testcases/resources/robot_library/DmaapLibrary.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/dcaegen2/testcases/resources/robot_library/DmaapLibrary.py b/tests/dcaegen2/testcases/resources/robot_library/DmaapLibrary.py
index c9a0ff7b..f79ba04e 100644
--- a/tests/dcaegen2/testcases/resources/robot_library/DmaapLibrary.py
+++ b/tests/dcaegen2/testcases/resources/robot_library/DmaapLibrary.py
@@ -49,6 +49,7 @@ class DmaapLibrary(object):
@staticmethod
def cleanup_ves_events():
+ DmaapLibrary.dmaap_server.reset_dmaap_succesfull_code()
if DmaapLibrary.server_thread is not None:
DmaapLibrary.dmaap_queue.clean_up_event()
logger.console("DMaaP event queue is cleaned up")
@@ -77,3 +78,7 @@ class DmaapLibrary(object):
return 'true'
evt_str = DmaapLibrary.dmaap_queue.deque_event()
return 'false'
+
+ @staticmethod
+ def set_successfull_dmaap_code(code):
+ DmaapLibrary.dmaap_server.set_dmaap_successfull_code(int(code)) \ No newline at end of file