Skip to content
Snippets Groups Projects

More robust logging for BDSS

Merged Adham Hashibon requested to merge core-mco-driver-for-new-workflow-reader into master
3 files
+ 84
33
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -91,9 +91,11 @@ class TestCoreMCODriver(unittest.TestCase):
capture.check(
("force_bdss.core_mco_driver",
"ERROR",
"Failed to create or initialize listener with id "
"force.bdss.enthought.plugin.test.v0"
".factory.probe_notification_listener: "))
"Failed to initialize listener with id "
"'force.bdss.enthought.plugin.test.v0"
".factory.probe_notification_listener' in plugin "
"'force.bdss.enthought.plugin.test.v0'. "
"The listener will be dropped."))
self.assertEqual(len(listeners), 0)
@@ -111,7 +113,10 @@ class TestCoreMCODriver(unittest.TestCase):
("force_bdss.core_mco_driver",
"ERROR",
"Exception while delivering to listener "
"ProbeNotificationListener: "))
"'force.bdss.enthought.plugin.test.v0"
".factory.probe_notification_listener' in plugin "
"'force.bdss.enthought.plugin.test.v0'. The listener will "
"be dropped and computation will continue." ))
def test_finalize_error(self):
driver = CoreMCODriver(
@@ -127,4 +132,6 @@ class TestCoreMCODriver(unittest.TestCase):
("force_bdss.core_mco_driver",
"ERROR",
"Exception while finalizing listener "
"ProbeNotificationListener: "))
"'force.bdss.enthought.plugin.test.v0"
".factory.probe_notification_listener' in plugin "
"'force.bdss.enthought.plugin.test.v0'."))
Loading