From 32ddea347db1bedf4529aafe2b8d9cb5e75d799d Mon Sep 17 00:00:00 2001 From: Kyle Lape Date: Wed, 13 Oct 2021 15:27:37 -0500 Subject: [PATCH] Wait on CJI instead of Job in smoke test script (#133) --- cicd/cji_smoke_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cicd/cji_smoke_test.sh b/cicd/cji_smoke_test.sh index 6ca47f7e..d0d42851 100644 --- a/cicd/cji_smoke_test.sh +++ b/cicd/cji_smoke_test.sh @@ -29,7 +29,7 @@ oc logs -n $NAMESPACE $pod -f & # Wait for the job to Complete or Fail before we try to grab artifacts # condition=complete does trigger when the job fails -oc wait --timeout=$IQE_CJI_TIMEOUT --for=condition=Complete -n $NAMESPACE job/$CJI_NAME-iqe +oc wait --timeout=$IQE_CJI_TIMEOUT --for=condition=JobInvocationComplete -n $NAMESPACE cji/$CJI_NAME # Get the minio client # TODO: bake this into jenkins agent template