Fix fragile tests

- Trying to fix test `StateMachineTests.testTimerTransition`
  by releasing latch after stateContexts list is updated. This
  is probably reason why assert failed for that list size.
- Again, fixes #36
This commit is contained in:
Janne Valkealahti
2015-05-17 16:33:13 +01:00
parent cc4794d014
commit 517bf69364

View File

@@ -178,8 +178,8 @@ public abstract class AbstractStateMachineTests {
if (message != null) {
log.info(this);
}
onExecuteLatch.countDown();
stateContexts.add(context);
onExecuteLatch.countDown();
}
}