You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I caught this while testing a component so I'm not sure whether it happens in "runtime" as well. The component code is:
voidTask::updateHook() {
if (!doStuff()) { // <- may set an "emergency" internal statethrowmyException();
}
}
voidTask::stopHook() {
if (hasEmergency()) {
exception(EMERGENCY);
}
}
The behavior is not deterministic, sometimes it passes, sometimes it doesn't. If I try to catch exception_state rather than emergency_state then it passes consistently. Asserting task.orogen_state is also not deterministic, it varies between :EXCEPTION and :EMERGENCY
The text was updated successfully, but these errors were encountered:
I caught this while testing a component so I'm not sure whether it happens in "runtime" as well. The component code is:
Test code:
The behavior is not deterministic, sometimes it passes, sometimes it doesn't. If I try to catch
exception_state
rather thanemergency_state
then it passes consistently. Assertingtask.orogen_state
is also not deterministic, it varies between:EXCEPTION
and:EMERGENCY
The text was updated successfully, but these errors were encountered: