-
-
Notifications
You must be signed in to change notification settings - Fork 2k
MDEV-39561 : Galera test failure on mysql-wsrep-features#8 #5062
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
base: 12.3
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,7 +18,6 @@ CREATE TABLE t1 (f1 INT PRIMARY KEY AUTO_INCREMENT, f2 VARCHAR(100), FULLTEXT (f | |
|
|
||
| --connection node_2 | ||
| --let $wait_condition = SELECT COUNT(*) = 13 FROM INFORMATION_SCHEMA.INNODB_SYS_TABLES WHERE name LIKE 'test/%' | ||
| --let $wait_condition_on_error_output = | ||
| --source include/wait_condition.inc | ||
|
|
||
| SELECT COUNT(*) AS EXPECT_13 FROM INFORMATION_SCHEMA.INNODB_SYS_TABLES WHERE name LIKE 'test/%'; | ||
|
|
@@ -33,15 +32,17 @@ INSERT INTO t1 (f2) SELECT 'foobarbaz' FROM ten AS a1, ten AS a2, ten AS a3, ten | |
|
|
||
| --connection node_2 | ||
| --let $wait_condition = SELECT COUNT(*) = 10000 FROM t1 WHERE MATCH(f2) AGAINST ('foobarbaz') | ||
| --source include/wait_condition.inc | ||
| --let $wait_condition_on_error_output = SELECT COUNT(*) FROM t1 | ||
| --source include/wait_condition_with_debug.inc | ||
|
|
||
| SELECT COUNT(f2) AS EXPECT_10000 FROM t1 WHERE MATCH(f2) AGAINST ('foobarbaz'); | ||
|
|
||
| UPDATE t1 SET f2 = 'abcdefjhk'; | ||
|
|
||
| --connection node_1 | ||
| --let $wait_condition = SELECT COUNT(*) = 10000 FROM t1 WHERE MATCH(f2) AGAINST ('abcdefjhk') | ||
| --source include/wait_condition.inc | ||
| --let $wait_condition_on_error_output = SELECT COUNT(*) FROM t1 | ||
| --source include/wait_condition_with_debug.inc | ||
|
|
||
| SELECT COUNT(f2) AS EXPECT_10000 FROM t1 WHERE MATCH(f2) AGAINST ('abcdefjhk'); | ||
|
|
||
|
|
@@ -68,16 +69,19 @@ INSERT INTO t1 (f1) SELECT 'foobarbaz' FROM ten AS a1, ten AS a2, ten AS a3; | |
|
|
||
| --connection node_1 | ||
| --let $wait_condition = SELECT COUNT(*) = 1000 FROM t1 WHERE MATCH(f1) AGAINST ('foobarbaz') | ||
| --source include/wait_condition.inc | ||
| --let $wait_condition_on_error_output = SELECT * FROM t1 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Using |
||
| --source include/wait_condition_with_debug.inc | ||
|
|
||
| SELECT COUNT(f1) AS EXPECT_1000 FROM t1 WHERE MATCH(f1) AGAINST ('foobarbaz'); | ||
|
|
||
| UPDATE t1 SET f1 = 'abcdefjhk'; | ||
|
|
||
| SELECT COUNT(f1) AS EXPECT_1000 FROM t1 WHERE MATCH(f1) AGAINST ('abcdefjhk'); | ||
|
|
||
| --connection node_2 | ||
| --let $wait_condition = SELECT COUNT(*) = 1000 FROM t1 WHERE MATCH(f1) AGAINST ('abcdefjhk') | ||
| --source include/wait_condition.inc | ||
| --let $wait_condition_on_error_output = SELECT * FROM t1 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| --source include/wait_condition_with_debug.inc | ||
|
|
||
| SELECT COUNT(f1) AS EXPECT_1000 FROM t1 WHERE MATCH(f1) AGAINST ('abcdefjhk'); | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To maintain consistency with the other improvements in this PR and provide better diagnostic information upon failure, consider using
wait_condition_with_debug.inchere as well.