Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.

Commit 88a9e5f

Browse files
committed
fix a typo; CI: test "Errors: 0", not just it finished
1 parent a2e8b5f commit 88a9e5f

6 files changed

+6
-6
lines changed

nancy_run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1009,7 +1009,7 @@ echo -e " Report: $ARTIFACTS_DESTINATION/$ARTIFACTS_FILENAME.json"
10091009
echo -e " Query log: $ARTIFACTS_DESTINATION/$ARTIFACTS_FILENAME.log.gz"
10101010
echo -e " -------------------------------------------"
10111011
echo -e " Workload summary:"
1012-
echo -e " Sumarized query duration:\t" $(docker_exec cat /$MACHINE_HOME/$ARTIFACTS_FILENAME.json | jq '.overall_stat.queries_duration') " ms"
1012+
echo -e " Summarized query duration:\t" $(docker_exec cat /$MACHINE_HOME/$ARTIFACTS_FILENAME.json | jq '.overall_stat.queries_duration') " ms"
10131013
echo -e " Queries:\t\t\t" $( docker_exec cat /$MACHINE_HOME/$ARTIFACTS_FILENAME.json | jq '.overall_stat.queries_number')
10141014
echo -e " Query groups:\t\t" $(docker_exec cat /$MACHINE_HOME/$ARTIFACTS_FILENAME.json | jq '.normalyzed_info| length')
10151015
echo -e " Errors:\t\t\t" $(docker_exec cat /$MACHINE_HOME/$ARTIFACTS_FILENAME.json | jq '.overall_stat.errors_number')

tests/nancy_run_localhost_real_workload.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ output=$(
1414
--tmp-path $srcDir/tmp 2>&1
1515
)
1616

17-
if [[ $output =~ "Sumarized query duration:" ]]; then
17+
if [[ $output =~ "Errors: 0:" ]]; then
1818
echo -e "\e[36mOK\e[39m"
1919
else
2020
>&2 echo -e "\e[31mFAILED\e[39m"

tests/nancy_run_localhost_simple_dump.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ output=$(
1414
--tmp-path $srcDir/tmp 2>&1
1515
)
1616

17-
if [[ $output =~ "Sumarized query duration:" ]]; then
17+
if [[ $output =~ "Errors: 0:" ]]; then
1818
echo -e "\e[36mOK\e[39m"
1919
else
2020
>&2 echo -e "\e[31mFAILED\e[39m"

tests/nancy_run_localhost_simple_dump_with_index.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ output=$(
1616
--target-ddl-undo "drop index i_speedup;" 2>&1
1717
)
1818

19-
if [[ $output =~ "Sumarized query duration:" ]]; then
19+
if [[ $output =~ "Errors: 0:" ]]; then
2020
echo -e "\e[36mOK\e[39m"
2121
else
2222
>&2 echo -e "\e[31mFAILED\e[39m"

tests/nancy_run_localhost_simple_gz_dump.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ output=$(
1414
--tmp-path $srcDir/tmp 2>&1
1515
)
1616

17-
if [[ $output =~ "Sumarized query duration:" ]]; then
17+
if [[ $output =~ "Errors: 0:" ]]; then
1818
echo -e "\e[36mOK\e[39m"
1919
else
2020
>&2 echo -e "\e[31mFAILED\e[39m"

tests/nancy_run_localhost_simple_sql_dump.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ output=$(
1414
--tmp-path $srcDir/tmp 2>&1
1515
)
1616

17-
if [[ $output =~ "Sumarized query duration:" ]]; then
17+
if [[ $output =~ "Errors: 0:" ]]; then
1818
echo -e "\e[36mOK\e[39m"
1919
else
2020
>&2 echo -e "\e[31mFAILED\e[39m"

0 commit comments

Comments
 (0)