Skip to content

Commit bac8a44

Browse files
committed
Reduce time spent sleeping in the e2e tests
Instead of sleeping one second, we should reduce this time to one millisecond so that we are checking more often but also likely moving on to the next message faster. This will significantly reduce the amount of time we spend in our e2e tests. Signed-off-by: Remy Suen <remy.suen@docker.com>
1 parent 82507fe commit bac8a44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

e2e-tests/initialize_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ func (ts *TestStream) Read(b []byte) (int, error) {
4646
} else if err != io.EOF {
4747
return r, err
4848
}
49-
time.Sleep(1 * time.Second)
49+
time.Sleep(1 * time.Millisecond)
5050
}
5151
}
5252

0 commit comments

Comments
 (0)