diff options
Diffstat (limited to 'ctdb/tests/complex/37_nfs_reset_server.sh')
-rwxr-xr-x | ctdb/tests/complex/37_nfs_reset_server.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/tests/complex/37_nfs_reset_server.sh b/ctdb/tests/complex/37_nfs_reset_server.sh index d6dd0f03b1f..07bd034d6c7 100755 --- a/ctdb/tests/complex/37_nfs_reset_server.sh +++ b/ctdb/tests/complex/37_nfs_reset_server.sh @@ -52,7 +52,7 @@ sleep_for 5 echo "Connecting to node ${test_node} on IP ${test_ip}:${test_port} with nc..." -nc -d -w $(($monitor_interval * 4)) $test_ip $test_port & +sleep $((monitor_interval * 4)) | nc $test_ip $test_port & nc_pid=$! ctdb_test_exit_hook_add "kill $nc_pid >/dev/null 2>&1" |