Skip to content

Commit 5b0ca34

Browse files
committed
Fix import paths for upgrade tests in ingress-controller-e2e test suite; deleted neg and psc upgrade tests references
1 parent 1000fe1 commit 5b0ca34

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

cmd/ingress-controller-e2e-test/upgrade_test.go

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,14 @@ import (
2020
"testing"
2121

2222
upgrade "k8s.io/ingress-gce/cmd/ingress-controller-e2e-test/upgrade"
23-
negupgrade "k8s.io/ingress-gce/cmd/neg-e2e-test/upgrade"
24-
pscupgrade "k8s.io/ingress-gce/cmd/psc-e2e-test/upgrade"
2523
"k8s.io/ingress-gce/pkg/e2e"
2624
)
2725

2826
func TestGenericUpgrade(t *testing.T) {
2927
t.Parallel()
3028

31-
for _, test := range []e2e.UpgradeTest{
32-
upgrade.NewBasicHTTPUpgradeTest(),
33-
negupgrade.NewStandaloneNEGWithSvcNEGUpgradeTest(),
34-
} {
35-
test := test // Capture test as we are running this in parallel.
36-
runUpgradeTest(t, test)
37-
}
29+
// Only run the Ingress-related upgrade test.
30+
runUpgradeTest(t, upgrade.NewBasicHTTPUpgradeTest())
3831
}
3932

4033
// TestUpgradeToV1dot7 runs upgrade tests for features that are introduced in v1.7.0.
@@ -49,12 +42,6 @@ func TestUpgradeToV1dot8(t *testing.T) {
4942
runUpgradeTest(t, upgrade.NewV2FrontendNamerTest())
5043
}
5144

52-
// TestUpgradeToV1dot15 runs upgrade tests for features that are introduced in v1.15.0.
53-
// Note that this test runs only when an upgrade results in enabling these features.
54-
func TestUpgradeToV1dot15(t *testing.T) {
55-
runUpgradeTest(t, pscupgrade.NewPSCUpgradeTest())
56-
}
57-
5845
func runUpgradeTest(t *testing.T, test e2e.UpgradeTest) {
5946
desc := test.Name()
6047
Framework.RunWithSandbox(desc, t, func(t *testing.T, s *e2e.Sandbox) {

0 commit comments

Comments
 (0)