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:
parent
22cbd04fd7
commit
9eb9b11bfd
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user