From 9eb9b11bfd108095ceb4c1813b4f7feac12f3401 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 28 Mar 2011 12:50:24 +1100 Subject: wintest: added a "ipconfig /flushdns" w2k3 doesn't flush its DNS cache on a dynamic update Pair-Programmed-With: Andrew Bartlett --- wintest/test-s4-howto.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'wintest/test-s4-howto.py') 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: -- cgit