diff --git a/shared/sizedqueue/enque.rb b/shared/sizedqueue/enque.rb index 3bc8008fa..7b6b1df73 100644 --- a/shared/sizedqueue/enque.rb +++ b/shared/sizedqueue/enque.rb @@ -120,7 +120,7 @@ q << 1 t = Thread.new { - -> { q.send(@method, 1, timeout: 0.1) }.should raise_error(ClosedQueueError, "queue closed") + -> { q.send(@method, 1, timeout: 10) }.should raise_error(ClosedQueueError, "queue closed") } Thread.pass until q.num_waiting == 1