Skip to content

Commit

Permalink
Update api-test-quarkus.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
oybed committed May 9, 2023
1 parent 9f419d9 commit bb52115
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/performance/api-tests/api-test-quarkus.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand All @@ -21,3 +22,4 @@ testProjectImported ${WORKSPACE_NAME} ${containerName} ${projectName}
testCommand ${WORKSPACE_NAME} ${containerName} "${commandToTest}" "${expectedCommandOutput}"

deleteWorkspace ${WORKSPACE_NAME}
oc delete project ${OCP_USERNAME}-test

0 comments on commit bb52115

Please sign in to comment.