Commit 0abbcf7b authored by Sergey Petrunya's avatar Sergey Petrunya

Fix mysql-test/suite/plugins/suite.pm to correctly check if Cassandra cluster is running.

parent f0b6f7fb
package My::Suite::Plugins; package My::Suite::Plugins;
use My::Platform;
@ISA = qw(My::Suite); @ISA = qw(My::Suite);
sub cassandra_running() { sub cassandra_running() {
return 0 if IS_WINDOW; return 0 if IS_WINDOWS;
system 'echo show version | cqlsh -3 2>/dev/null >/dev/null'; system 'echo show version | cqlsh -3 2>/dev/null >/dev/null';
return $? == 0; return $? == 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment