File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ if [[ "$BENCHMARK_STRATEGY" == "collection-reload" ]]; then
3737 export TELEMETRY_API_RESPONSE_FILE=$( ls -t results/telemetry-api-* .json | head -n 1)
3838else
3939 # any other strategies are considered to have search & upload results
40- export SEARCH_RESULTS_FILE=$( find results/ -type f -name ' *-search-*.json' -printf ' %T@ %p\n' | sort -nr | head -n 1 | cut -d' ' -f2-)
41- export UPLOAD_RESULTS_FILE=$( find results/ -type f -name ' *-upload-*.json' -printf ' %T@ %p\n' | sort -nr | head -n 1 | cut -d' ' -f2-)
40+ export SEARCH_RESULTS_FILE=$( find results/ -maxdepth 1 - type f -name ' *-search-*.json' -printf ' %T@ %p\n' | sort -nr | head -n 1 | cut -d' ' -f2-)
41+ export UPLOAD_RESULTS_FILE=$( find results/ -maxdepth 1 - type f -name ' *-upload-*.json' -printf ' %T@ %p\n' | sort -nr | head -n 1 | cut -d' ' -f2-)
4242
4343 if [[ " $BENCHMARK_STRATEGY " == " parallel" ]]; then
4444 export PARALLEL_UPLOAD_RESULTS_FILE=$( ls -t results/parallel/* -upload-* .json | head -n 1)
Original file line number Diff line number Diff line change @@ -56,12 +56,12 @@ result_files_arr=()
5656result_parallel_files_arr=()
5757
5858if [[ " $EXPERIMENT_MODE " == " full" ]] || [[ " $EXPERIMENT_MODE " == " upload" ]]; then
59- UPLOAD_RESULT_FILE=$( ssh -o ServerAliveInterval=10 -o ServerAliveCountMax=10 " ${SERVER_USERNAME} @${IP_OF_THE_CLIENT} " " find results/ -type f -name '*-upload-*.json' -printf '%T@ %p\n' | sort -nr | head -n 1 | cut -d' ' -f2-" )
59+ UPLOAD_RESULT_FILE=$( ssh -o ServerAliveInterval=10 -o ServerAliveCountMax=10 " ${SERVER_USERNAME} @${IP_OF_THE_CLIENT} " " find results/ -maxdepth 1 - type f -name '*-upload-*.json' -printf '%T@ %p\n' | sort -nr | head -n 1 | cut -d' ' -f2-" )
6060 result_files_arr+=(" $UPLOAD_RESULT_FILE " )
6161fi
6262
6363if [[ " $EXPERIMENT_MODE " == " full" ]] || [[ " $EXPERIMENT_MODE " == " search" ]]; then
64- SEARCH_RESULT_FILE=$( ssh -o ServerAliveInterval=10 -o ServerAliveCountMax=10 " ${SERVER_USERNAME} @${IP_OF_THE_CLIENT} " " find results/ -type f -name '*-search-*.json' -printf '%T@ %p\n' | sort -nr | head -n 1 | cut -d' ' -f2-" )
64+ SEARCH_RESULT_FILE=$( ssh -o ServerAliveInterval=10 -o ServerAliveCountMax=10 " ${SERVER_USERNAME} @${IP_OF_THE_CLIENT} " " find results/ -maxdepth 1 - type f -name '*-search-*.json' -printf '%T@ %p\n' | sort -nr | head -n 1 | cut -d' ' -f2-" )
6565 result_files_arr+=(" $SEARCH_RESULT_FILE " )
6666fi
6767
You can’t perform that action at this time.
0 commit comments