Skip to content

Commit

Permalink
Fixing permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
dagfinno committed Jan 22, 2025
1 parent 1b3c735 commit 4fc26cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/k6/tests/enduser/enduserSearchWithThresholds.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export let options = {
vus: 1,
duration: "30s",
thresholds: {
"http_req_duration{name:enduser search}": ["p(95)<300", "p(99)<500"],
"http_req_duration{name:enduser search}": ["p(95)<30", "p(99)<50"],
"http_req_duration{name:get dialog}": ["p(95)<300", "p(99)<500"],
"http_req_duration{name:get dialog activities}": ["p(95)<300", "p(99)<500"],
"http_req_duration{name:get dialog activity}": ["p(95)<300", "p(99)<500"],
Expand Down
7 changes: 3 additions & 4 deletions tests/k6/tests/scripts/run-test-in-k8s.sh
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ kubectl wait --for=jsonpath='{.status.stage}'=finished testrun/$name --timeout=$
print_logs

cleanup() {
#local exit_code=$?
local exit_code=$failed
echo "Sleeping for 15s and then cleaning up resources..."
sleep 15
if [ -f "config.yml" ]; then
Expand All @@ -169,7 +169,6 @@ cleanup() {

rm -f archive.tar

#exit $exit_code
exit $exit_code
}
cleanup
exit $failed
cleanup EXIT

0 comments on commit 4fc26cf

Please sign in to comment.