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
37
37
export TELEMETRY_API_RESPONSE_FILE=$( ls -t results/telemetry-api-* .json | head -n 1)
38
38
else
39
39
# 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-)
42
42
43
43
if [[ " $BENCHMARK_STRATEGY " == " parallel" ]]; then
44
44
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=()
56
56
result_parallel_files_arr=()
57
57
58
58
if [[ " $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-" )
60
60
result_files_arr+=(" $UPLOAD_RESULT_FILE " )
61
61
fi
62
62
63
63
if [[ " $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-" )
65
65
result_files_arr+=(" $SEARCH_RESULT_FILE " )
66
66
fi
67
67
You can’t perform that action at this time.
0 commit comments