Remove unused code in test/e2e/{upgrades,storage,network}

Signed-off-by: chymy <chang.min1@zte.com.cn>
This commit is contained in:
chymy 2021-02-23 02:45:51 -05:00
parent f4801a7c85
commit c32793a4c9
3 changed files with 0 additions and 6 deletions

View File

@ -42,7 +42,6 @@ var kubeProxyE2eImage = imageutils.GetE2EImage(imageutils.Agnhost)
var _ = SIGDescribe("KubeProxy", func() {
const (
testDaemonHTTPPort = 11301
testDaemonTCPPort = 11302
postFinTimeoutSeconds = 30
)

View File

@ -1631,7 +1631,6 @@ func podRunning(ctx context.Context, c clientset.Interface, podName, namespace s
}
const (
podStartTimeout = 5 * time.Minute
poll = 2 * time.Second
pvcAsSourceProtectionFinalizer = "snapshot.storage.kubernetes.io/pvc-as-source-protection"
volumeSnapshotContentFinalizer = "snapshot.storage.kubernetes.io/volumesnapshotcontent-bound-protection"

View File

@ -19,8 +19,6 @@ package upgrades
import (
"context"
"fmt"
"time"
appsv1 "k8s.io/api/apps/v1"
v1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@ -34,8 +32,6 @@ import (
)
const (
interval = 10 * time.Second
timeout = 5 * time.Minute
rsName = "rs"
scaleNum = 2
)