From 012076d324abe6d41a84bf4ed5d5ed67f02c01f0 Mon Sep 17 00:00:00 2001 From: qingsenLi Date: Sun, 10 Feb 2019 17:23:15 +0800 Subject: [PATCH] delete some unused const --- test/e2e_node/eviction_test.go | 1 - test/e2e_node/garbage_collector_test.go | 8 +++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/test/e2e_node/eviction_test.go b/test/e2e_node/eviction_test.go index c3ff29b3d50..4f6e3655b43 100644 --- a/test/e2e_node/eviction_test.go +++ b/test/e2e_node/eviction_test.go @@ -50,7 +50,6 @@ const ( postTestConditionMonitoringPeriod = 1 * time.Minute evictionPollInterval = 2 * time.Second pressureDissapearTimeout = 1 * time.Minute - longPodDeletionTimeout = 10 * time.Minute // pressure conditions often surface after evictions because the kubelet only updates // node conditions periodically. // we wait this period after evictions to make sure that we wait out this delay diff --git a/test/e2e_node/garbage_collector_test.go b/test/e2e_node/garbage_collector_test.go index 2ee6ce772db..957ad8d4740 100644 --- a/test/e2e_node/garbage_collector_test.go +++ b/test/e2e_node/garbage_collector_test.go @@ -38,11 +38,9 @@ const ( maxPerPodContainer = 1 maxTotalContainers = -1 - defaultRuntimeRequestTimeoutDuration = 1 * time.Minute - defaultImagePullProgressDeadline = 1 * time.Minute - garbageCollectDuration = 3 * time.Minute - setupDuration = 10 * time.Minute - runtimePollInterval = 10 * time.Second + garbageCollectDuration = 3 * time.Minute + setupDuration = 10 * time.Minute + runtimePollInterval = 10 * time.Second ) type testPodSpec struct {