From b5a1775bad0dc36ca456b5315ea929d0b8b0c210 Mon Sep 17 00:00:00 2001 From: Carlos Salguero Date: Tue, 7 Aug 2018 09:40:05 -0300 Subject: [PATCH] PT-1574 PT-1590 Fixed test --- t/pt-online-schema-change/pt-1574.t | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/t/pt-online-schema-change/pt-1574.t b/t/pt-online-schema-change/pt-1574.t index 3c8b088c..6ea4d96a 100644 --- a/t/pt-online-schema-change/pt-1574.t +++ b/t/pt-online-schema-change/pt-1574.t @@ -56,13 +56,13 @@ $sb->load_file('master', "t/pt-online-schema-change/samples/pt-1574.sql"); isnt( $exit_status, 0, - "PT-1544 There is no unique index exit status", + "PT-1574, PT-1590 There is no unique index exit status", ); like( $output, qr/at least one UNIQUE and NOT NULLABLE index/s, - "PT-1544 Message you need an unique index.", + "PT-1574, PT-1590 Message you need an unique index.", ); ($output, $exit_status) = full_output( @@ -74,16 +74,16 @@ like( stderr => 1, ); -isnt( +is( $exit_status, 0, - "PT-1544 There is no unique index exit status", + "PT-1574, PT-1590 Exit status 0 with null fields", ); like( $output, - qr/at least one UNIQUE and NOT NULLABLE index/s, - "PT-1544 Message you need an unique index.", + qr/Successfully altered `test`.`t2`/s, + "PT-1574, PT-1590 Successfully altered `test`.`t2`", ); # #############################################################################