summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-03-28 12:50:24 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-03-29 00:00:22 +0200
commit9eb9b11bfd108095ceb4c1813b4f7feac12f3401 (patch)
tree139f9106223fbb9704e542b05b451f094d4daace
parent22cbd04fd7d51cbb1f8617a51759f6cad166985b (diff)
downloadsamba-9eb9b11bfd108095ceb4c1813b4f7feac12f3401.tar.gz
samba-9eb9b11bfd108095ceb4c1813b4f7feac12f3401.tar.bz2
samba-9eb9b11bfd108095ceb4c1813b4f7feac12f3401.zip
wintest: added a "ipconfig /flushdns"
w2k3 doesn't flush its DNS cache on a dynamic update Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
-rwxr-xr-xwintest/test-s4-howto.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/wintest/test-s4-howto.py b/wintest/test-s4-howto.py
index 7199f1e251..e09f8ba7a9 100755
--- a/wintest/test-s4-howto.py
+++ b/wintest/test-s4-howto.py
@@ -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: