mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +00:00
Remove unused code in test/e2e/{upgrades,storage,network}
Signed-off-by: chymy <chang.min1@zte.com.cn>
This commit is contained in:
parent
f4801a7c85
commit
c32793a4c9
@ -42,7 +42,6 @@ var kubeProxyE2eImage = imageutils.GetE2EImage(imageutils.Agnhost)
|
||||
|
||||
var _ = SIGDescribe("KubeProxy", func() {
|
||||
const (
|
||||
testDaemonHTTPPort = 11301
|
||||
testDaemonTCPPort = 11302
|
||||
postFinTimeoutSeconds = 30
|
||||
)
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user