This repository has been archived by the owner on Jun 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add hack scripts for smoke-performance testing. (#1242)
Signed-off-by: Pavel Macík <[email protected]> Signed-off-by: Pavel Macík <[email protected]>
- Loading branch information
Showing
3 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
|
||
export WAIT_BEFORE=${WAIT_BEFORE:-120s} | ||
export WAIT_AFTER=${WAIT_AFTER:-300s} | ||
export TEST_PERFORMANCE_USERS_PER_SCENARIO=${TEST_PERFORMANCE_USERS_PER_SCENARIO:-50} | ||
export SKIP_RESOURCE_COUNTS=${SKIP_RESOURCE_COUNTS:-true} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash -x | ||
|
||
pushd $(dirname $0) | ||
source ./env.sh | ||
|
||
if [ -d ../../test/performance/toolchain-e2e.git ]; then | ||
pushd ../../test/performance/toolchain-e2e.git | ||
make clean-e2e-resources; | ||
popd; | ||
fi | ||
|
||
oc delete pod $(oc get pods -n openshift-operators -o json| jq -rc '.items[] | select(.metadata.name | startswith("service-binding-operator")).metadata.name') -n openshift-operators | ||
popd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash -x | ||
|
||
pushd $(dirname $0) | ||
source ./env.sh | ||
pushd ../../ | ||
time make clean test-performance test-performance-collect-kpi -o deploy-from-index-image | ||
popd | ||
popd |