Sha256: 29c719076c42b34eaf2ffc0a6908d19767368a168489b9591c62e1c3361a869e
Contents?: true
Size: 296 Bytes
Versions: 4
Compression:
Stored size: 296 Bytes
Contents
require_relative 'test_helper' Thread.abort_on_exception = true class AsyncQueueTest < MiniTest::Unit::TestCase def test_uses_consumer_thread_to_not_block_the_main_thread queue = Harness::AsyncQueue.new queue.push [:gauge, ['foo', 5]] sleep 0.1 assert_gauge 'foo' end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
harness-2.0.0 | test/async_queue_test.rb |
harness-1.0.2 | test/async_queue_test.rb |
harness-1.0.1 | test/async_queue_test.rb |
harness-1.0.0 | test/async_queue_test.rb |