diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2013-02-04 09:22:29 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2013-02-04 09:22:29 +0400 |
commit | 0abbcf7b000dd5f3e9ae4b4d0e849766026f0b9e (patch) | |
tree | 014b2e21feda16b6828b04cbd38716c60940d6b4 | |
parent | f0b6f7fb20e4eacf0f70a6c71cc199762278663b (diff) | |
download | mariadb-git-0abbcf7b000dd5f3e9ae4b4d0e849766026f0b9e.tar.gz |
Fix mysql-test/suite/plugins/suite.pm to correctly check if Cassandra cluster is running.
-rw-r--r-- | mysql-test/suite/plugins/suite.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mysql-test/suite/plugins/suite.pm b/mysql-test/suite/plugins/suite.pm index 610f94173f4..2b0f1b56e19 100644 --- a/mysql-test/suite/plugins/suite.pm +++ b/mysql-test/suite/plugins/suite.pm @@ -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; } |