diff --git a/other/rec-req/refresh-volumes-in-pods/04-check-annotations.yaml b/other/rec-req/refresh-volumes-in-pods/04-check-annotations.yaml index e5ec918e0..686919495 100644 --- a/other/rec-req/refresh-volumes-in-pods/04-check-annotations.yaml +++ b/other/rec-req/refresh-volumes-in-pods/04-check-annotations.yaml @@ -1,7 +1,7 @@ apiVersion: kuttl.dev/v1beta1 kind: TestStep commands: -- command: sleep 5 +- command: sleep 3 - script: | annotation=$(kubectl get pod pod01 -n refresh-vols-ns -o json | kyverno jp query "metadata.annotations.\"corp.org/random\" || '' " | tail -n 1 | cut -d '"' -f 2) if [ "$annotation" = "" ]; then exit 1; else exit 0; fi diff --git a/other/rec-req/refresh-volumes-in-pods/05-check.yaml b/other/rec-req/refresh-volumes-in-pods/05-check.yaml index f9a9d2e7b..61c1a121f 100644 --- a/other/rec-req/refresh-volumes-in-pods/05-check.yaml +++ b/other/rec-req/refresh-volumes-in-pods/05-check.yaml @@ -1,7 +1,7 @@ apiVersion: kuttl.dev/v1beta1 kind: TestStep commands: -- command: sleep 3 +- command: sleep 5 - script: | val=$(kubectl exec pod01 -n refresh-vols-ns -- cat /mnt/foo/foo) if [ "$val" = "bar" ]; then exit 0; else exit 1; fi