Skip to content

Commit 2d0b29f

Browse files
committed
fix(e2e): execute delete command
1 parent efda2fc commit 2d0b29f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

e2e/smoke_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ var _ = Describe("Smoke End To End Tests - against OpenShift Cluster with Istio
262262
EnsureSessionRouteIsReachable(namespace, sessionName, ContainSubstring("che-workspace"))
263263

264264
// when the mutated deployment is cleaned up
265-
testshell.ExecuteInDir(tmpDir, "oc delete deployment che-workspace")
265+
testshell.ExecuteInDir(tmpDir, "oc", "delete", "deployment", "che-workspace", "-n", namespace)
266266

267267
// then the session should no longer be available
268268
EnsureSessionRouteIsNotReachable(namespace, sessionName, ContainSubstring("ratings-v1"), Not(ContainSubstring("che-workspace")))

0 commit comments

Comments
 (0)