Skip to content

Commit

Permalink
removing --stackdriver-export-interval=30s from list tests (#1472)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tulsishah committed Oct 26, 2023
1 parent fcb4ed6 commit 4075a3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions perfmetrics/scripts/continuous_test/gcp_ubuntu/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,16 @@ then
UPLOAD_FLAGS="--upload_gs"
fi

GCSFUSE_FLAGS="--implicit-dirs --max-conns-per-host 100 --debug_fuse --debug_gcs --log-format \"text\" --stackdriver-export-interval=30s"
GCSFUSE_FLAGS="--implicit-dirs --max-conns-per-host 100 --debug_fuse --debug_gcs --log-format \"text\" "
LOG_FILE_FIO_TESTS=${KOKORO_ARTIFACTS_DIR}/gcsfuse-logs.txt
GCSFUSE_FIO_FLAGS="$GCSFUSE_FLAGS --log-file $LOG_FILE_FIO_TESTS"
GCSFUSE_FIO_FLAGS="$GCSFUSE_FLAGS --log-file $LOG_FILE_FIO_TESTS --stackdriver-export-interval=30s"

# Executing perf tests
chmod +x run_load_test_and_fetch_metrics.sh
./run_load_test_and_fetch_metrics.sh "$GCSFUSE_FIO_FLAGS" "$UPLOAD_FLAGS"

# ls_metrics test. This test does gcsfuse mount with the passed flags first and then does the testing.
LOG_FILE_LIST_TESTS=gcsfuse-list-logs.txt
LOG_FILE_LIST_TESTS=${KOKORO_ARTIFACTS_DIR}/gcsfuse-list-logs.txt
GCSFUSE_LIST_FLAGS="$GCSFUSE_FLAGS --log-file $LOG_FILE_LIST_TESTS"
cd "./ls_metrics"
chmod +x run_ls_benchmark.sh
Expand Down
2 changes: 1 addition & 1 deletion perfmetrics/scripts/ls_metrics/run_ls_benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ pip install --require-hashes -r requirements.txt --user
echo Running script..
GCSFUSE_FLAGS=$1
UPLOAD_FLAGS=$2
python3 listing_benchmark.py config.json --gcsfuse_flags "$GCSFUSE_FLAGS" $UPLOAD_FLAGS --command "ls -R" --num_samples 300 --message "Testing CT setup."
python3 listing_benchmark.py config.json --gcsfuse_flags "$GCSFUSE_FLAGS" $UPLOAD_FLAGS --command "ls -R" --num_samples 30 --message "Testing CT setup."

0 comments on commit 4075a3f

Please sign in to comment.