From bb52115b2b57253fc194f1487366ae468c1f1f87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98ystein=20Bedin?= Date: Tue, 9 May 2023 11:53:14 -0600 Subject: [PATCH] Update api-test-quarkus.sh --- tests/performance/api-tests/api-test-quarkus.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/performance/api-tests/api-test-quarkus.sh b/tests/performance/api-tests/api-test-quarkus.sh index 8c9dfdbf8e0..d9fbe6d77cf 100644 --- a/tests/performance/api-tests/api-test-quarkus.sh +++ b/tests/performance/api-tests/api-test-quarkus.sh @@ -12,6 +12,7 @@ export containerName="tools" export commandToTest="cd /projects/$projectName && mvn package >> command_log.txt; grep '$expectedCommandOutput' ./command_log.txt;" oc login -u $OCP_USERNAME -p $OCP_PASSWORD --server=$OCP_SERVER_URL --insecure-skip-tls-verify +oc new-project ${OCP_USERNAME}-test cd /tmp startWorkspace ${BASE_URL} ${TEST_DEVFILE_PATH} ${WORKSPACE_NAME} @@ -21,3 +22,4 @@ testProjectImported ${WORKSPACE_NAME} ${containerName} ${projectName} testCommand ${WORKSPACE_NAME} ${containerName} "${commandToTest}" "${expectedCommandOutput}" deleteWorkspace ${WORKSPACE_NAME} +oc delete project ${OCP_USERNAME}-test