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 5ffdfff commit f3d2516Copy full SHA for f3d2516
container_test.go
@@ -2736,11 +2736,11 @@ func TestStartContainerWhenContextTimesOut(t *testing.T) {
2736
2737
func TestStopContainerWhenContextTimesOut(t *testing.T) {
2738
t.Parallel()
2739
- rt := sleepyRoudTripper{sleepDuration: 200 * time.Millisecond}
+ rt := sleepyRoudTripper{sleepDuration: 300 * time.Millisecond}
2740
2741
client := newTestClient(&rt)
2742
2743
- ctx, cancel := context.WithTimeout(context.TODO(), 100*time.Millisecond)
+ ctx, cancel := context.WithTimeout(context.TODO(), 50*time.Millisecond)
2744
defer cancel()
2745
2746
err := client.StopContainerWithContext("id", 10, ctx)
0 commit comments