pubsub: increase timeout in iterator test
A 1ms timeout may be too short for some machines/OSs. Increasing it
in the hope it will fix the flakiness.
@@ -183,7 +183,7 @@ func TestAfterAbortReturnsNoMoreThanOneMessage(t *testing.T) {
}()
}
// Wait for goroutines to block on it.Next().
- time.Sleep(time.Millisecond)
+ time.Sleep(50 * time.Millisecond)
tc.abort(it, cancel)
result1 := <-results
