Fix inconsistent test.

This commit is contained in:
Daniel Nichter
2013-11-26 16:27:49 -08:00
parent 56a32fe50b
commit bfea5c0141
2 changed files with 4 additions and 8 deletions

View File

@@ -705,7 +705,8 @@ ok(
no_diff( no_diff(
sub { pt_online_schema_change::main(@args, "$dsn,D=bug_1045317,t=bits", sub { pt_online_schema_change::main(@args, "$dsn,D=bug_1045317,t=bits",
'--execute', '--statistics', '--execute', '--statistics',
'--alter', "modify column val ENUM('M','E','H') NOT NULL") '--alter', "modify column val ENUM('M','E','H') NOT NULL",
'--recursion-method', 'none')
}, },
($sandbox_version ge '5.5' && $db_flavor !~ m/XtraDB Cluster/ ($sandbox_version ge '5.5' && $db_flavor !~ m/XtraDB Cluster/
? "$sample/stats-execute-5.5.txt" ? "$sample/stats-execute-5.5.txt"

View File

@@ -1,9 +1,5 @@
Found 2 slaves: No slaves found. See --recursion-method if host h=127.1,P=12345 has slaves.
h=127.0.0.1,P=12346 Not checking slave lag because no slaves were found and --check-slave-lag was not specified.
h=127.0.0.1,P=12347
Will check slave lag on:
h=127.0.0.1,P=12346
h=127.0.0.1,P=12347
Operation, tries, wait: Operation, tries, wait:
copy_rows, 10, 0.25 copy_rows, 10, 0.25
create_triggers, 10, 1 create_triggers, 10, 1
@@ -20,7 +16,6 @@ TS Dropped triggers OK.
Successfully altered `bug_1045317`.`bits`. Successfully altered `bug_1045317`.`bits`.
Creating new table... Creating new table...
Created new table bug_1045317._bits_new OK. Created new table bug_1045317._bits_new OK.
Waiting forever for new table `bug_1045317`.`_bits_new` to replicate to h=127.0.0.1,P=12346...
Altering new table... Altering new table...
Altered `bug_1045317`.`_bits_new` OK. Altered `bug_1045317`.`_bits_new` OK.
TS Creating triggers... TS Creating triggers...