1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

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

This commit is contained in:
Sergey Petrunya
2013-02-04 09:22:29 +04:00
parent f0b6f7fb20
commit 0abbcf7b00

View File

@ -1,9 +1,11 @@
package My::Suite::Plugins;
use My::Platform;
@ISA = qw(My::Suite);
sub cassandra_running() {
return 0 if IS_WINDOW;
return 0 if IS_WINDOWS;
system 'echo show version | cqlsh -3 2>/dev/null >/dev/null';
return $? == 0;
}