test/hparticipant_test.rb in openwferu-0.9.16 vs test/hparticipant_test.rb in openwferu-0.9.17

- old
+ new

@@ -11,11 +11,11 @@ require 'test/unit' #require 'openwfe/workitem' require 'openwfe/flowexpressionid' require 'openwfe/engine/engine' -require 'openwfe/expressions/raw_prog' +require 'openwfe/def' require 'openwfe/worklist/storeparticipant' include OpenWFE @@ -78,11 +78,11 @@ #puts id.to_s #puts "alice count : #{@hpAlice.size}" #puts "bob count : #{@hpBob.size}" - sleep 0.200 + sleep 0.300 assert_equal @hpBob.size, 0 assert_equal @hpAlice.size, 1 wi = @hpAlice.list_workitems(id.workflow_instance_id)[0] @@ -93,21 +93,21 @@ wi.message = "Hello bob !" @hpAlice.forward(wi) - sleep 0.200 + sleep 0.300 assert_equal @hpAlice.size, 0 assert_equal @hpBob.size, 1 wi = @hpBob.list_workitems(id.workflow_instance_id)[0] assert_equal wi.message, "Hello bob !" @hpBob.proceed(wi) - sleep 0.200 + sleep 0.300 assert_equal @hpAlice.size, 0 assert_equal @hpBob.size, 0 assert_equal @engine.get_expression_storage.size, 1