Skip to content

Commit c3206f6

Browse files
committed
Increase timeout to avoid transient spec failure
1 parent 037c1ef commit c3206f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared/sizedqueue/enque.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
q << 1
121121

122122
t = Thread.new {
123-
-> { q.send(@method, 1, timeout: 0.1) }.should raise_error(ClosedQueueError, "queue closed")
123+
-> { q.send(@method, 1, timeout: 10) }.should raise_error(ClosedQueueError, "queue closed")
124124
}
125125

126126
Thread.pass until q.num_waiting == 1

0 commit comments

Comments
 (0)