Hi folks, In some conditions, the function get_raw in wfid_generator.rb takes ages to (or may never) complete !
/gems/ruote-2.2.0/lib/ruote/id/wfid_generator.rb:53 raw = raw + 0.01 while raw.to_f <= lraw (rdb:1) p raw Sun Apr 03 13:00:00 UTC 2011 (rdb:1) p raw.to_f 1301835600.0 (rdb:1) p lraw 1302143145.08481 I managed to realized that's happening only my specs.. and it's due to the fact that I mock Time.now :p To the last raw value is actually in the past.. or could be in the future. Not sure how to fix it for my tests to run... any ideas? trying to reset state for the engine contest. What's the best way to configure a new class for 's_wfidgen'? thanks, Pedro -- you received this message because you are subscribed to the "ruote users" group. to post : send email to [email protected] to unsubscribe : send email to [email protected] more options : http://groups.google.com/group/openwferu-users?hl=en
