From ee8526841008e4127393790ec11bcd5aa6de8221 Mon Sep 17 00:00:00 2001 From: Ved Ratan Date: Mon, 1 Jul 2024 09:45:38 +0530 Subject: [PATCH] test-fix Signed-off-by: Ved Ratan --- tests/e2e/coco-workload/create/chainsaw-test.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/coco-workload/create/chainsaw-test.yaml b/tests/e2e/coco-workload/create/chainsaw-test.yaml index da870722..ed4c705a 100644 --- a/tests/e2e/coco-workload/create/chainsaw-test.yaml +++ b/tests/e2e/coco-workload/create/chainsaw-test.yaml @@ -12,14 +12,14 @@ spec: - name: "Create a sample deployment" try: - script: - content: kubectl create deployment nginx --image=nginx + content: kubectl create deployment -n $NAMESPACE nginx --image=nginx check: (contains($stdout, 'deployment.apps/nginx created')): true - name: "Create a sample runtimeclass" try: - script: - content: kubectl apply -f ../runtime.yaml + content: kubectl apply -f ../runtime.yaml-n $NAMESPACE check: (contains($stdout, 'runtimeclass.node.k8s.io/kata-clh created')): true