Skip to content
Snippets Groups Projects
Commit 1c904fbb authored by gakin's avatar gakin
Browse files

SSDM-4591 : Adjust the waiting condition based on the renaming of DataSetRegistrationTask

SVN: 37585
parent e92b9f1d
No related branches found
No related tags found
No related merge requests found
...@@ -79,8 +79,8 @@ class TestCase(systemtest.testcase.TestCase): ...@@ -79,8 +79,8 @@ class TestCase(systemtest.testcase.TestCase):
monitor = util.LogMonitor("%s syncronization.log" % openbis2.instanceName, monitor = util.LogMonitor("%s syncronization.log" % openbis2.instanceName,
"%s/syncronization.log" % openbis2.installPath) # "%s/servers/datastore_server/log/datastore_server_log.txt" % openbis2.installPath "%s/syncronization.log" % openbis2.installPath) # "%s/servers/datastore_server/log/datastore_server_log.txt" % openbis2.installPath
monitor.addNotificationCondition(util.RegexCondition('OPERATION.DataSetRegistrationTask')) monitor.addNotificationCondition(util.RegexCondition('OPERATION.HarvesterMaintenanceTask'))
monitor.waitUntilEvent(util.RegexCondition('OPERATION.DataSetRegistrationTask - Saving the timestamp of sync start to file')) monitor.waitUntilEvent(util.RegexCondition('OPERATION.HarvesterMaintenanceTask - Saving the timestamp of sync start to file'))
'''read entity graph from datasource''' '''read entity graph from datasource'''
datasource_graph_response = self.getResourceListForComparison('8444', 'harvester1', '123') datasource_graph_response = self.getResourceListForComparison('8444', 'harvester1', '123')
...@@ -145,8 +145,8 @@ class TestCase(systemtest.testcase.TestCase): ...@@ -145,8 +145,8 @@ class TestCase(systemtest.testcase.TestCase):
monitor = util.LogMonitor("%s syncronization.log" % openbis2.instanceName, monitor = util.LogMonitor("%s syncronization.log" % openbis2.instanceName,
"%s/syncronization.log" % openbis2.installPath) # "%s/servers/datastore_server/log/datastore_server_log.txt" % openbis2.installPath "%s/syncronization.log" % openbis2.installPath) # "%s/servers/datastore_server/log/datastore_server_log.txt" % openbis2.installPath
monitor.addNotificationCondition(util.RegexCondition('OPERATION.DataSetRegistrationTask')) monitor.addNotificationCondition(util.RegexCondition('OPERATION.HarvesterMaintenanceTask'))
monitor.waitUntilEvent(util.RegexCondition('OPERATION.DataSetRegistrationTask - Saving the timestamp of sync start to file')) monitor.waitUntilEvent(util.RegexCondition('OPERATION.HarvesterMaintenanceTask - Saving the timestamp of sync start to file'))
'''read entity graph from datasource''' '''read entity graph from datasource'''
datasource_graph_response = self.getResourceListForComparison('8444', 'harvester1', '123') datasource_graph_response = self.getResourceListForComparison('8444', 'harvester1', '123')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment