Skip to content

Commit 6cbb917

Browse files
authored
test(machine_type_test): fix flag parsing and mounted directory in gke/machine_type_test (#4877)
* test(gke): fix flag parsing and mounted directory resolution in machine type tests * Update perfmetrics/scripts/continuous_test/gke/machine_type_test/run_test.sh
1 parent 1a47125 commit 6cbb917

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • perfmetrics/scripts/continuous_test/gke/machine_type_test

perfmetrics/scripts/continuous_test/gke/machine_type_test/run_test.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ echo "Step 4: Running tests ..."
4343
# These tests are chosen to verify that machine-type is correctly passed by
4444
# CSI Driver to GCSFuse and GCSFuse is correctly accepting it and triggering optimization flags
4545
# like implicit-dirs and rename-dir-limit for high-performance machine-type as expected.
46-
go test -v ./tools/integration_tests/flag_optimizations/... --integrationTest --config-file="$(pwd)/tools/integration_tests/test_config.yaml" --mountedDirectory=/data_mnt --testbucket="$BUCKET_NAME" -run "TestImplicitDirsEnabled|TestRenameDirLimitSet"
46+
export MOUNTED_DIR="/data_mnt"
47+
go test -v ./tools/integration_tests/flag_optimizations/... -run "TestImplicitDirsEnabled|TestRenameDirLimitSet" -args --integrationTest --config-file="$(pwd)/tools/integration_tests/test_config.yaml" --mountedDirectory="${MOUNTED_DIR}" --testbucket="$BUCKET_NAME"
4748

4849
echo "Step 5: Test finished successfully."

0 commit comments

Comments
 (0)