Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests/integrationtest2: fix bugs in the tests #56815

Merged
merged 1 commit into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/integrationtest2/r/br_integration.result
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ br_integration t1 _tidb_rowid 101 _TIDB_ROWID
br_integration t1 _tidb_rowid 1 AUTO_INCREMENT
SHOW TABLE tt1 NEXT_ROW_ID;
DB_NAME TABLE_NAME COLUMN_NAME NEXT_GLOBAL_ROW_ID ID_TYPE
br_integration tt1 _tidb_rowid 1 _TIDB_ROWID
br_integration tt1 _tidb_rowid 101 _TIDB_ROWID
br_integration tt1 _tidb_rowid 1 AUTO_INCREMENT
16 changes: 16 additions & 0 deletions tests/integrationtest2/r/dumpling_import_integration.result
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
CREATE TABLE t2(c BIGINT AUTO_RANDOM PRIMARY KEY, a INT, b INT);
INSERT INTO t2(a, b) VALUES (1, 1), (2, 2), (3, 3);
SELECT (c & 31) as inc FROM t2 ORDER BY inc;
inc
1
2
3
INSERT INTO tt2(a, b) VALUES (1, 1), (2, 2), (3, 3);
SELECT (c & 31) as inc FROM tt2 ORDER BY inc;
inc
1
2
3
4
5
6
2 changes: 1 addition & 1 deletion tests/integrationtest2/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function build_mysql_tester()
{
echo "building mysql-tester binary: $mysql_tester"
rm -rf $mysql_tester
GOBIN=$PWD go install github.com/bb7133/mysql-tester/src@67e4fbf902623a98a859fb3d1bd39088bec8da6f
GOBIN=$PWD go install github.com/bb7133/mysql-tester/src@2148bd9e5299de307244a15ed0047c953a035dc4
mv src mysql_tester
}

Expand Down