1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

wintest: added a "ipconfig /flushdns"

w2k3 doesn't flush its DNS cache on a dynamic update

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Andrew Tridgell 2011-03-28 12:50:24 +11:00 committed by Andrew Bartlett
parent 22cbd04fd7
commit 9eb9b11bfd

View File

@ -422,6 +422,9 @@ def test_join_as_dc(t, vm):
t.cmd_contains("bin/samba-tool drs replicate ${HOSTNAME}.${WIN_REALM} ${WIN_HOSTNAME}.${WIN_REALM} %s -k yes" % nc, ["was successful"])
t.cmd_contains("bin/samba-tool drs replicate ${WIN_HOSTNAME}.${WIN_REALM} ${HOSTNAME}.${WIN_REALM} %s -k yes" % nc, ["was successful"])
child.sendline("ipconfig /flushdns")
child.expect("Successfully flushed")
retries = 10
i = 1
while i == 1 and retries > 0: