We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0ee14d commit a3ab87bCopy full SHA for a3ab87b
t/pt-archiver/archive_using_channels.t
@@ -28,7 +28,7 @@ elsif ( !$slave_dbh ) {
28
} elsif ($sandbox_version lt '5.7') {
29
plan skip_all => 'Only on MySQL 5.7+';
30
} else {
31
- plan tests => 5;
+ plan tests => 4;
32
}
33
34
my ($master1_dbh, $master1_dsn) = $sb->start_sandbox(
@@ -76,19 +76,10 @@ $output = output(
76
sub { $exit_status = pt_archiver::main(@args) },
77
stderr => 1,
78
);
79
-diag("Exit status: $exit_status");
80
-diag($output);
81
-
82
-isnt(
+is(
83
$exit_status,
84
0,
85
- 'Must specify a channel name',
86
-);
87
88
-like (
89
- $output,
90
- qr/"channel" was not specified/,
91
- 'Message saying channel name must be specified'
+ 'No need of channel name since there is only one master',
92
93
94
push @args, ('--channel', 'masterchan1');
0 commit comments