summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-11-30 12:48:51 +1100
committerAndrew Tridgell <tridge@samba.org>2010-12-01 16:09:59 +1100
commita565eff9699b7061236b753b6dc09bc36b837563 (patch)
tree13c879ea93373f9eef67e3a64041bfa9a970d90d
parentc1fa6be92514cec35033fa8486e30316de13319a (diff)
downloadsamba-a565eff9699b7061236b753b6dc09bc36b837563.tar.gz
wintest Allow 'samba-tool newuser' to run a few times waiting for the RID Set
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
-rwxr-xr-xwintest/test-s4-howto.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wintest/test-s4-howto.py b/wintest/test-s4-howto.py
index d04cabbb3e6..df2f253f4aa 100755
--- a/wintest/test-s4-howto.py
+++ b/wintest/test-s4-howto.py
@@ -404,7 +404,7 @@ def test_dcpromo(t, vm):
child.expect("was successful")
t.info("Checking if new users propogate to windows")
- t.run_cmd('bin/samba-tool newuser test2 ${PASSWORD2}')
+ t.retry_cmd('bin/samba-tool newuser test2 ${PASSWORD2}', ["created successfully"])
t.retry_cmd("bin/smbclient -L ${WIN_HOSTNAME}.${LCREALM} -Utest2%${PASSWORD2} -k no", ['Sharename', 'Remote IPC'])
t.retry_cmd("bin/smbclient -L ${WIN_HOSTNAME}.${LCREALM} -Utest2%${PASSWORD2} -k yes", ['Sharename', 'Remote IPC'])