From f049738db50b9f6cca46b6bb57e1e96b9bf3bf90 Mon Sep 17 00:00:00 2001 From: leocavalcante Date: Mon, 21 Aug 2023 11:22:03 -0300 Subject: [PATCH] chore(dev): Relative Gatling workspace --- stress-test/run-test.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) mode change 100644 => 100755 stress-test/run-test.sh diff --git a/stress-test/run-test.sh b/stress-test/run-test.sh old mode 100644 new mode 100755 index 4ec6c90f..a0654786 --- a/stress-test/run-test.sh +++ b/stress-test/run-test.sh @@ -5,8 +5,7 @@ # curl -v "http://localhost:9999/contagem-pessoas" GATLING_BIN_DIR=$HOME/gatling/3.9.5/bin - -WORKSPACE=$HOME/projects/rinha-de-backend-2023-q3/stress-test +WORKSPACE=$(dirname $(realpath $0)) sh $GATLING_BIN_DIR/gatling.sh -rm local -s RinhaBackendSimulation \ -rd "DESCRICAO" \ @@ -16,4 +15,4 @@ sh $GATLING_BIN_DIR/gatling.sh -rm local -s RinhaBackendSimulation \ sleep 3 -curl -v "http://localhost:9999/contagem-pessoas" \ No newline at end of file +curl -v "http://localhost:9999/contagem-pessoas"