Skip to content

Commit 6e4598a

Browse files
committed
reorder test script args
1 parent 0eb04a3 commit 6e4598a

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

tests/test-static.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,10 @@ while [[ $# -gt 0 ]]; do
2323
esac
2424
done
2525

26-
client_binary=${1:-"$PROJECT_ROOT/build/generic/mgconsole"}
27-
memgraph_image=${2:-"memgraph/memgraph:latest"}
26+
memgraph_image=${1:-"memgraph/memgraph:latest"}
27+
client_binary=${2:-"$PROJECT_ROOT/build/generic/mgconsole"}
2828

2929
echo "Testing mgconsole static build"
30-
3130
script_args=()
3231
if $use_ssl; then
3332
script_args+=("--use-ssl")
@@ -36,7 +35,6 @@ if $use_docker; then
3635
script_args+=("--docker")
3736
fi
3837
script_args+=("$memgraph_image" "$client_binary")
39-
echo "Running tests with arguments: ${script_args[@]}"
4038

4139
cd "$SCRIPT_DIR/input_output"
4240
./run-tests.sh "${script_args[@]}"

0 commit comments

Comments
 (0)