Skip to content

Commit

Permalink
Increase the sleep time before checking for GoRoutines
Browse files Browse the repository at this point in the history
* Seeing a failure for PR#110, decided to increase the sleep time.
  • Loading branch information
kozlovic committed Nov 11, 2015
1 parent 2bd959f commit 8a2bb20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sub_test.go
Expand Up @@ -37,7 +37,7 @@ func TestServerAutoUnsub(t *testing.T) {
nc.Publish("foo", []byte("Hello"))
}
nc.Flush()
time.Sleep(10 * time.Millisecond)
time.Sleep(100 * time.Millisecond)

if atomic.LoadInt32(&received) != max {
t.Fatalf("Received %d msgs, wanted only %d\n", received, max)
Expand Down

0 comments on commit 8a2bb20

Please sign in to comment.