test/timeout_test.rb in openwferu-0.9.9 vs test/timeout_test.rb in openwferu-0.9.10
- old
+ new
@@ -88,22 +88,26 @@
li = LaunchItem.new(TimeoutDefinition0)
engine.launch(li)
+ sleep 0.300
+
wi = albert.list_workitems(nil)[0]
wi.done = "ok"
albert.proceed(wi)
+ sleep 0.300
+
s = engine.application_context["__tracer"].to_s
#puts "trace is >#{s}<"
#puts "albert.size is #{albert.size}"
# in this test, the participant doesn't time out
- assert \
- albert.size == 0,
+ assert_equal \
+ albert.size, 0,
"workitem was not removed from workitem store"
assert \
s == "timedout? \nover ok",
"flow did not reach 'over ok'"