File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ export IMAGE_MCAD="${IMAGE_REPOSITORY_MCAD}:${IMAGE_TAG_MCAD}"
45
45
CLUSTER_STARTED=" false"
46
46
export KUTTL_VERSION=0.15.0
47
47
export KUTTL_OPTIONS=${TEST_KUTTL_OPTIONS}
48
- export KUTTL_TEST_SUITES=(" ${ROOT_DIR} /test/kuttl-test-extended-resources.yaml " " ${ROOT_DIR} /test/kuttl-test .yaml" " ${ROOT_DIR} /test/kuttl-test-deployment-03.yaml" " ${ROOT_DIR} /test/kuttl-test-deployment-02.yaml" " ${ROOT_DIR} /test/kuttl-test-deployment-01.yaml" )
48
+ export KUTTL_TEST_SUITES=(" ${ROOT_DIR} /test/kuttl-test.yaml" " ${ROOT_DIR} /test/kuttl-test-deployment-03.yaml" " ${ROOT_DIR} /test/kuttl-test-deployment-02.yaml" " ${ROOT_DIR} /test/kuttl-test-deployment-01.yaml" )
49
49
DUMP_LOGS=" true"
50
50
51
51
@@ -408,6 +408,16 @@ function extend-resources {
408
408
# Stop communication with cluster
409
409
echo " Killing proxy (pid=${PROXY_PID} )..."
410
410
kill ${PROXY_PID}
411
+
412
+ # Run kuttl tests to confirm GPUs were added correctly
413
+ kuttl_test=" ${ROOT_DIR} /test/kuttl-test-extended-resources.yaml"
414
+ echo " kubectl kuttl test --config ${kuttl_test} "
415
+ kubectl kuttl test --config ${kuttl_test}
416
+ if [ $? -ne 0 ]
417
+ then
418
+ echo " kuttl e2e test '${kuttl_test} ' failure, exiting."
419
+ exit 1
420
+ fi
411
421
}
412
422
413
423
function kuttl-tests {
You can’t perform that action at this time.
0 commit comments