test/wfid_test.rb in openwferu-0.9.16 vs test/wfid_test.rb in openwferu-0.9.17
- old
+ new
@@ -15,10 +15,11 @@
require 'openwfe/utils'
require 'openwfe/workitem'
require 'openwfe/engine/engine'
require 'openwfe/expool/wfidgen'
+require 'openwfe/def'
#
# testing otime and the scheduler (its cron aspect)
#
@@ -47,10 +48,10 @@
wfid = gen.generate
#puts wfid
- OpenWFE::die("\nduplicate workflow_instance_id found !!!") \
+ abort "\nduplicate workflow_instance_id found !!!" \
if map[wfid]
map[wfid] = true
#puts wfid if i == n-1