From 2b1c259d51599e33498ad2ee25f5b443ff4ab453 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 1 Dec 2010 15:00:50 +1100 Subject: wintest: cope with delays in w2k3 starting its DRS server w2k3 brings up its DRS server quite a long time after its other services --- wintest/test-s4-howto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wintest/test-s4-howto.py') diff --git a/wintest/test-s4-howto.py b/wintest/test-s4-howto.py index 1b4fbd6045..c530e1ab7c 100755 --- a/wintest/test-s4-howto.py +++ b/wintest/test-s4-howto.py @@ -334,7 +334,7 @@ def test_dcpromo(t, vm): t.cmd_contains('bin/smbclient -L ${WIN_HOSTNAME}.${LCREALM} -Utestallowed@${LCREALM}%${PASSWORD1}', ["C$", "IPC$", "Sharename"]) t.cmd_contains("bin/samba-tool drs kcc ${HOSTNAME}.${LCREALM} -Uadministrator@${LCREALM}%${PASSWORD1}", ['Consistency check', 'successful']) - t.cmd_contains("bin/samba-tool drs kcc ${WIN_HOSTNAME}.${LCREALM} -Uadministrator@${LCREALM}%${PASSWORD1}", ['Consistency check', 'successful']) + t.retry_cmd("bin/samba-tool drs kcc ${WIN_HOSTNAME}.${LCREALM} -Uadministrator@${LCREALM}%${PASSWORD1}", ['Consistency check', 'successful']) t.kinit("administrator@${REALM}", "${PASSWORD1}") -- cgit