mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +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() {
|
var _ = SIGDescribe("KubeProxy", func() {
|
||||||
const (
|
const (
|
||||||
testDaemonHTTPPort = 11301
|
|
||||||
testDaemonTCPPort = 11302
|
testDaemonTCPPort = 11302
|
||||||
postFinTimeoutSeconds = 30
|
postFinTimeoutSeconds = 30
|
||||||
)
|
)
|
||||||
|
@ -1631,7 +1631,6 @@ func podRunning(ctx context.Context, c clientset.Interface, podName, namespace s
|
|||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
podStartTimeout = 5 * time.Minute
|
|
||||||
poll = 2 * time.Second
|
poll = 2 * time.Second
|
||||||
pvcAsSourceProtectionFinalizer = "snapshot.storage.kubernetes.io/pvc-as-source-protection"
|
pvcAsSourceProtectionFinalizer = "snapshot.storage.kubernetes.io/pvc-as-source-protection"
|
||||||
volumeSnapshotContentFinalizer = "snapshot.storage.kubernetes.io/volumesnapshotcontent-bound-protection"
|
volumeSnapshotContentFinalizer = "snapshot.storage.kubernetes.io/volumesnapshotcontent-bound-protection"
|
||||||
|
@ -19,8 +19,6 @@ package upgrades
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
|
||||||
|
|
||||||
appsv1 "k8s.io/api/apps/v1"
|
appsv1 "k8s.io/api/apps/v1"
|
||||||
v1 "k8s.io/api/core/v1"
|
v1 "k8s.io/api/core/v1"
|
||||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
@ -34,8 +32,6 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
interval = 10 * time.Second
|
|
||||||
timeout = 5 * time.Minute
|
|
||||||
rsName = "rs"
|
rsName = "rs"
|
||||||
scaleNum = 2
|
scaleNum = 2
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user