Skip to content

Commit

Permalink
fix log in run-automated
Browse files Browse the repository at this point in the history
  • Loading branch information
gargnitingoogle committed Oct 7, 2024
1 parent ce7f706 commit 01c1a06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions perfmetrics/scripts/testing_on_gke/examples/run-automated.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,13 @@ rm -rfv log fio/output.csv dlio/output.csv

# Run the script.
start_time=$(date +%Y-%m-%dT%H:%M:%SZ)
echo 'Run started at ${start_time}'
echo "Run started at ${start_time}"
touch log
(./run-gke-tests.sh --debug |& tee -a log) || true
# Use the following if you want to run it in a tmux session instead.
# tmux new-session -d -s ${instance_id} 'bash -c "(./run-gke-tests.sh --debug |& tee -a log); sleep 604800 "'
end_time=$(date +%Y-%m-%dT%H:%M:%SZ)
echo 'Run ended at ${end_time}'
echo "Run ended at ${end_time}"

# Some post-run steps to be taken for output collection.
if test -n "${workload_config}"; then
Expand Down

0 comments on commit 01c1a06

Please sign in to comment.