mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
Test suite: Fix debug code for unexpectedly unhealthy cluster.
The debug code should run "ctdb status" on a cluster node, not on the test client. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 34e6f8a04b12f8879eb42d417f9741502ccccf0f)
This commit is contained in:
parent
d6862832ed
commit
d846eb78db
@ -342,7 +342,7 @@ cluster_is_healthy ()
|
||||
if ! ${ctdb_test_restart_scheduled:-false} ; then
|
||||
echo "DEBUG:"
|
||||
local i
|
||||
for i in "ctdb status" "onnode -q 0 onnode all ctdb scriptstatus" ; do
|
||||
for i in "onnode -q 0 ctdb status" "onnode -q 0 onnode all ctdb scriptstatus" ; do
|
||||
echo "$i"
|
||||
$i || true
|
||||
done
|
||||
@ -527,7 +527,7 @@ tcpdump_wait ()
|
||||
if ! wait_until 30 tcpdump_check ; then
|
||||
echo "DEBUG:"
|
||||
local i
|
||||
for i in "ctdb status" "netstat -tanp" "tcpdump -n -e -r $tcpdump_filename" ; do
|
||||
for i in "onnode -q 0 ctdb status" "netstat -tanp" "tcpdump -n -e -r $tcpdump_filename" ; do
|
||||
echo "$i"
|
||||
$i || true
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user