diff --git a/runsc/container/metric_server_test.go b/runsc/container/metric_server_test.go index 649bdc34f..a4a3424af 100644 --- a/runsc/container/metric_server_test.go +++ b/runsc/container/metric_server_test.go @@ -57,9 +57,9 @@ func setupMetrics(t *testing.T) (*metricsTest, func()) { childReaper.Start() cu := cleanup.Make(childReaper.Stop) - cleanupCtx, cleanupCancel := context.WithTimeout(context.Background(), 1*time.Minute) + cleanupCtx, cleanupCancel := context.WithTimeout(context.Background(), 3*time.Minute+30*time.Second) cu.Add(cleanupCancel) - testCtx, testCancel := context.WithTimeout(cleanupCtx, 50*time.Second) + testCtx, testCancel := context.WithTimeout(cleanupCtx, 3*time.Minute) cu.Add(testCancel) spec, conf := sleepSpecConf(t)