Skip to content

Commit

Permalink
Increase timeout to avoid transient spec failure
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Nov 27, 2023
1 parent 037c1ef commit c3206f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/sizedqueue/enque.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c3206f6

Please sign in to comment.