try to restart statd everytime it fails, not just the first time
[metze/ctdb/wip.git] / tests / complex / 42_failover_ssh_hostname.sh
index 4b3ed88223722bea28daf7f286c739685b000040..1965248789629f8b4acad60956952dcdfb232aa1 100755 (executable)
@@ -51,7 +51,7 @@ echo "Removing ${test_ip} from the local ARP table..."
 arp -d $test_ip >/dev/null 2>&1 || true
 
 echo "SSHing to ${test_ip} and running hostname..."
-original_hostname=$(ssh -o "StrictHostKeyChecking no" $test_ip hostname)
+original_hostname=$(ssh $test_ip hostname)
 [ $? -eq 0 ]
 
 echo "Hostname is: ${original_hostname}"
@@ -65,7 +65,7 @@ onnode 0 $CTDB_TEST_WRAPPER wait_until_node_has_status $test_node disabled
 gratarp_sniff_wait_show
 
 echo "SSHing to ${test_ip} and running hostname (again)..."
-new_hostname=$(ssh -o "StrictHostKeyChecking no" $test_ip hostname)
+new_hostname=$(ssh $test_ip hostname)
 [ $? -eq 0 ]
 
 echo "Hostname is: ${new_hostname}"