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

Commit f60a306

Browse files
committed
CI: fix the "real workload" test
1 parent b5dbbbb commit f60a306

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/nancy_run_localhost_real_workload.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ nancyRun="$parentDir/nancy_run.sh"
1010

1111
output=$(
1212
$nancyRun \
13-
--db-dump "create table hello_world as select i from generate_series(1, 1000) _(i);" \
13+
--db-dump "create table hello_world as select i, i as id from generate_series(1, 1000) _(i);" \
1414
--workload-real "file://$srcDir/sample.replay" \
1515
--tmp-path $srcDir/tmp 2>&1
1616
)
1717

18-
if [[ $output =~ "Errors: 0:" ]]; then
18+
if [[ $output =~ "Queries: 1" ]]; then
1919
echo -e "\e[36mOK\e[39m"
2020
else
2121
>&2 echo -e "\e[31mFAILED\e[39m"

0 commit comments

Comments
 (0)