From c02af7b3bbf0e8ba0fe32d29812b71b15dfb6fb4 Mon Sep 17 00:00:00 2001 From: Viktor Dukhovni Date: Tue, 18 Apr 2017 20:57:28 +0000 Subject: [PATCH] Avoid another potential check-iprop race. Though a race was never observed, the re-sync, slave DB deletion, master changes and restart did not take into account late changes in the master before slave down. --- tests/kdc/check-iprop.in | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/kdc/check-iprop.in b/tests/kdc/check-iprop.in index 23999be73..06448338d 100644 --- a/tests/kdc/check-iprop.in +++ b/tests/kdc/check-iprop.in @@ -283,6 +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} echo "kill slave and remove log and database" > iprop-stats