test/functional/ct_0_concurrence.rb in ruote-2.1.3 vs test/functional/ct_0_concurrence.rb in ruote-2.1.4
- old
+ new
@@ -25,10 +25,14 @@
#noisy
wfid = @engine0.launch(pdef)
@engine0.step 4
- $stderr.puts "*cough*" if @storage.get_msgs.size != 2
+ msgs = @storage.get_msgs
+ $stderr.puts "*cough*" if msgs.size != 2
+ #msgs.each do |m|
+ # p [ m['action'], m['fei']['expid'], m['workitem'] ]
+ #end
t0 = Thread.new { @engine1.step! }
t1 = Thread.new { @engine0.step! }
t0.join
t1.join