Skip to content

Commit

Permalink
Updated tests...
Browse files Browse the repository at this point in the history
  • Loading branch information
oybed committed May 2, 2023
1 parent 008f7d6 commit 4ccdeb6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/performance/api-load-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ for ((i=1; i<=$USER_COUNT; i++)); do
done

# Set common variables to template.yaml
apiTest="https://raw.githubusercontent.com/eclipse/che/main/tests/performance/api-tests/api-test-$TEST_SUITE.sh"
apiTest="https://raw.githubusercontent.com/oybed/che/main/tests/performance/api-tests/api-test-$TEST_SUITE.sh"
rm template.yaml || true
cp api-pod.yaml template.yaml
sed -i "s/REPLACE_COMPLETITIONS/$COMPLETITIONS_COUNT/g" template.yaml
Expand Down
4 changes: 3 additions & 1 deletion tests/performance/api-tests/api-test-php.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -e

wget -O /tmp/api-utils.sh https://raw.githubusercontent.com/eclipse/che/main/tests/performance/api-tests/api-utils.sh
wget -O /tmp/api-utils.sh https://raw.githubusercontent.com/oybed/che/main/tests/performance/api-tests/api-utils.sh
source /tmp/api-utils.sh

export TEST_DEVFILE_PATH="devfile-registry/devfiles/TP__php__php-hello-world/devworkspace-che-code-latest.yaml"
Expand All @@ -20,4 +20,6 @@ testProjectImported ${WORKSPACE_NAME} ${containerName} ${projectName}

testCommand ${WORKSPACE_NAME} ${containerName} "${commandToTest}" "${expectedCommandOutput}"

sleep 300

deleteWorkspace ${WORKSPACE_NAME}

0 comments on commit 4ccdeb6

Please sign in to comment.