mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 05:00:45 +00:00
Fix pt-heartbeat/pxc.t. Exit early in test-env if wget fails. Add APP=FORK|mysql to start-sandbox so it too works around the pxc mysqld -V bug; add FORK=pxc to start_sandbox() calls.
This commit is contained in:
@@ -341,7 +341,7 @@ sub wait_for_slaves {
|
||||
sub {
|
||||
my ($pong) = $slave2_dbh->selectrow_array(
|
||||
"SELECT ping FROM percona_test.sentinel WHERE id=1 /* wait_for_slaves */");
|
||||
return $ping eq $pong;
|
||||
return $ping eq ($pong || '');
|
||||
}, undef, 300
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user