Fix missing wait_for in check-iprop
authorViktor Dukhovni <viktor@twosigma.com>
Sun, 28 May 2017 19:34:02 +0000 (15:34 -0400)
committerNico Williams <nico@cryptonector.com>
Sun, 28 May 2017 21:58:02 +0000 (16:58 -0500)
tests/kdc/check-iprop.in

index 06448338dca68530604f7edf8dad8bdbdd061c48..af6d9c253ca1df199cb678b515d52c709498b753 100644 (file)
@@ -283,7 +283,7 @@ ${kadmin} -l get host/bar@${R} > /dev/null 2>/dev/null && exit 1
 echo "Re-add host"
 ${kadmin} -l add --random-key --use-defaults host/foo@${R} || exit 1
 ${kadmin} -l add --random-key --use-defaults host/bar@${R} || exit 1
-slave_check_exists  host/bar@${R}
+wait_for "Slave sees re-added host" slave_check_exists "host/bar@${R}"
 
 echo "kill slave and remove log and database"
 > iprop-stats