We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 346b492 commit 19fa3d9Copy full SHA for 19fa3d9
pkg/testutil/testutil_linux.go
@@ -126,7 +126,7 @@ func NewDelayOnceReader(wrapped io.Reader) io.Reader {
126
127
func (r *delayOnceReader) Read(p []byte) (int, error) {
128
// FIXME: this is obviously not exact science. At 1 second, it will fail regularly on the CI under load.
129
- r.once.Do(func() { time.Sleep(2 * time.Second) })
+ r.once.Do(func() { time.Sleep(5 * time.Second) })
130
n, err := r.wrapped.Read(p)
131
if errors.Is(err, io.EOF) {
132
time.Sleep(time.Second)
0 commit comments