circumvent false alarm in SubsystemRunner_test due to timing problems

This commit is contained in:
Fischlurch 2009-01-10 18:20:04 +01:00
parent f75bb233ba
commit 5df4aee966

View file

@ -306,12 +306,13 @@ namespace lumiera {
try
{
runner.maybeRun (unit4);
NOTREACHED;
}
catch (lumiera::Error&)
{
ASSERT (lumiera_error() == error::LUMIERA_ERROR_LOGIC); // detected that the subsystem didn't come up
}
} // (due to the way the test subsystem is written,
// this may not always be detected, because there
// is a short time window where isUp_==true )
bool emergency = runner.wait();