Sha256: 07044e3d361318fc6741c3a33c57c1cb45e4b14d184f1feeef5f66fe7309798d
Contents?: true
Size: 452 Bytes
Versions: 1
Compression:
Stored size: 452 Bytes
Contents
# # a method for checking the number of pending jobs left in the engine # module PendingJobsMixin def assert_no_jobs_left cname = @engine.class.name min_jobs = if cname == 'OpenWFE::CachedFilePersistedEngine' 1 elsif cname == 'OpenWFE::Extras::CachedDbPersistedEngine' 1 else 0 end assert_equal min_jobs, @engine.get_scheduler.pending_job_count end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
openwferu-0.9.16 | test/pending.rb |