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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user