Skip to content

Commit acaae85

Browse files
committed
Fix TestUpdateCSVInPlace e2e test case
Remove the mock-extension-apiserver iamge usage on TestUpdateCSVInPlace test case that causes the failure as the CSV doesn't own that APIServer Signed-off-by: Vu Dinh <[email protected]>
1 parent e2f0f66 commit acaae85

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

test/e2e/csv_e2e_test.go

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2489,26 +2489,15 @@ func TestUpdateCSVInPlace(t *testing.T) {
24892489
require.NoError(t, err)
24902490
require.NotNil(t, dep)
24912491

2492-
// Create "updated" CSV with a different image
2492+
// Create "updated" CSV
24932493
strategyNew := strategy
24942494
strategyNew.DeploymentSpecs[0].Spec.Template.Spec.Containers = []corev1.Container{
24952495
{
2496-
Name: genName("hat"),
2497-
Image: "quay.io/coreos/mock-extension-apiserver:master",
2498-
Command: []string{"/bin/mock-extension-apiserver"},
2499-
Args: []string{
2500-
"-v=4",
2501-
"--mock-kinds",
2502-
"fedora",
2503-
"--mock-group-version",
2504-
"group.version",
2505-
"--secure-port",
2506-
"5443",
2507-
"--debug",
2508-
},
2496+
Name: genName("nginx-"),
2497+
Image: *dummyImage,
25092498
Ports: []corev1.ContainerPort{
25102499
{
2511-
ContainerPort: 5443,
2500+
ContainerPort: 80,
25122501
},
25132502
},
25142503
ImagePullPolicy: corev1.PullIfNotPresent,

0 commit comments

Comments
 (0)