Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
fix new test
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed May 25, 2021
1 parent 3ffe918 commit 85440dd
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tests/lightning_routes/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ run_sql 'DROP DATABASE IF EXISTS routes_a0;'
run_sql 'DROP DATABASE IF EXISTS routes_a1;'
run_sql 'DROP DATABASE IF EXISTS routes_b;'

run_lightning
echo yes | run_lightning

run_sql 'SELECT count(1), sum(x) FROM routes_b.u;'
check_contains 'count(1): 4'
Expand Down
2 changes: 1 addition & 1 deletion tests/lightning_row-format-v2/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fi

run_sql 'DROP DATABASE IF EXISTS rowformatv2;'

run_lightning
echo yes | run_lightning

run_sql 'SELECT count(1) FROM rowformatv2.t1;'
check_contains 'count(1): 50'
Expand Down
2 changes: 1 addition & 1 deletion tests/lightning_tool_135/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
set -eu

run_sql 'DROP DATABASE IF EXISTS tool_135;'
run_lightning
echo yes | run_lightning
echo 'Import finished'

run_sql 'SELECT count(a), sum(a), min(a), max(a) FROM tool_135.bar1;'
Expand Down
2 changes: 1 addition & 1 deletion tests/lightning_tool_1420/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
set -eu

run_sql 'DROP DATABASE IF EXISTS `EE1420`;'
run_lightning
echo yes | run_lightning
run_sql 'SELECT `ROLE_ID` FROM `EE1420`.`pt_role`;'
check_contains 'ROLE_ID: 1'
2 changes: 1 addition & 1 deletion tests/lightning_tool_1472/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
set -eu

run_sql 'drop database if exists EE1472;'
run_lightning
echo yes | run_lightning

run_sql 'insert into EE1472.pk values ();'
run_sql 'select count(a), max(a) from EE1472.pk;'
Expand Down
2 changes: 1 addition & 1 deletion tests/lightning_tool_241/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
set -eu

run_sql 'DROP DATABASE IF EXISTS qyjc;'
run_lightning
echo yes | run_lightning
echo 'Import finished'

# Verify all data are imported
Expand Down

0 comments on commit 85440dd

Please sign in to comment.