From 1c904fbba62b79c4488dc1c69521fc9904665d31 Mon Sep 17 00:00:00 2001 From: gakin <gakin> Date: Wed, 11 Jan 2017 13:05:40 +0000 Subject: [PATCH] SSDM-4591 : Adjust the waiting condition based on the renaming of DataSetRegistrationTask SVN: 37585 --- integration-tests/test_openbis_sync.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/integration-tests/test_openbis_sync.py b/integration-tests/test_openbis_sync.py index 89412e9c43f..f7613284573 100755 --- a/integration-tests/test_openbis_sync.py +++ b/integration-tests/test_openbis_sync.py @@ -79,8 +79,8 @@ class TestCase(systemtest.testcase.TestCase): monitor = util.LogMonitor("%s syncronization.log" % openbis2.instanceName, "%s/syncronization.log" % openbis2.installPath) # "%s/servers/datastore_server/log/datastore_server_log.txt" % openbis2.installPath - monitor.addNotificationCondition(util.RegexCondition('OPERATION.DataSetRegistrationTask')) - monitor.waitUntilEvent(util.RegexCondition('OPERATION.DataSetRegistrationTask - Saving the timestamp of sync start to file')) + monitor.addNotificationCondition(util.RegexCondition('OPERATION.HarvesterMaintenanceTask')) + monitor.waitUntilEvent(util.RegexCondition('OPERATION.HarvesterMaintenanceTask - Saving the timestamp of sync start to file')) '''read entity graph from datasource''' datasource_graph_response = self.getResourceListForComparison('8444', 'harvester1', '123') @@ -145,8 +145,8 @@ class TestCase(systemtest.testcase.TestCase): monitor = util.LogMonitor("%s syncronization.log" % openbis2.instanceName, "%s/syncronization.log" % openbis2.installPath) # "%s/servers/datastore_server/log/datastore_server_log.txt" % openbis2.installPath - monitor.addNotificationCondition(util.RegexCondition('OPERATION.DataSetRegistrationTask')) - monitor.waitUntilEvent(util.RegexCondition('OPERATION.DataSetRegistrationTask - Saving the timestamp of sync start to file')) + monitor.addNotificationCondition(util.RegexCondition('OPERATION.HarvesterMaintenanceTask')) + monitor.waitUntilEvent(util.RegexCondition('OPERATION.HarvesterMaintenanceTask - Saving the timestamp of sync start to file')) '''read entity graph from datasource''' datasource_graph_response = self.getResourceListForComparison('8444', 'harvester1', '123') -- GitLab