diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-12-01 15:00:50 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-12-01 16:09:58 +1100 |
commit | 2b1c259d51599e33498ad2ee25f5b443ff4ab453 (patch) | |
tree | 8c0f19a19a2e0d013b9f5d7318707fe2e9c81cec /wintest/test-s4-howto.py | |
parent | c2fb3502186b06a10f3493ca25b583d3a3133608 (diff) | |
download | samba-2b1c259d51599e33498ad2ee25f5b443ff4ab453.tar.gz samba-2b1c259d51599e33498ad2ee25f5b443ff4ab453.tar.bz2 samba-2b1c259d51599e33498ad2ee25f5b443ff4ab453.zip |
wintest: cope with delays in w2k3 starting its DRS server
w2k3 brings up its DRS server quite a long time after its other
services
Diffstat (limited to 'wintest/test-s4-howto.py')
-rwxr-xr-x | wintest/test-s4-howto.py | 2 |
1 files changed, 1 insertions, 1 deletions
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}") |