test/ft_32_journal.rb in openwferu-0.9.9 vs test/ft_32_journal.rb in openwferu-0.9.10

- old
+ new

@@ -48,17 +48,18 @@ end @engine.register_participant(:bravo) do |wi| @tracer << "bravo\n" end - fei = dotest(TestDefinition0, "alpha\nbravo") + #fei = dotest(TestDefinition0, "alpha\nbravo") + fei = dotest(TestDefinition0, "alpha\nbravo", 0.250) journal_service = @engine.application_context["journal"] fn = journal_service.donedir + "/" + fei.wfid + ".journal" - #journal_service.analyze fn + #puts journal_service.analyze fn #sleep(10) assert_equal @engine.get_expression_storage.size, 1 @@ -66,16 +67,24 @@ # # replay at offset 18 without "refiring" # # flow waits + sleep 0.250 + + #puts + #puts @engine.get_expression_storage.to_s + #puts + assert_equal @engine.get_expression_storage.size, 6 journal_service.replay fn, 18, true # # replay at offset 18 with "refiring" # # flow resumes + + sleep 0.500 assert_equal @engine.get_expression_storage.size, 1 end end