summaryrefslogtreecommitdiff
path: root/source4/torture/drs
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2018-02-14 13:26:35 +1300
committerStefan Metzmacher <metze@samba.org>2018-02-27 16:00:14 +0100
commit59725be66da569c20b22aa6018903bd0218f7c39 (patch)
tree7357577c3bfa51b40aa08c35eea489b24641ed5c /source4/torture/drs
parent0b0664b4809b6d0c5155178377344229d90f7e20 (diff)
downloadsamba-59725be66da569c20b22aa6018903bd0218f7c39.tar.gz
tests/replica_sync: Add some additional replication in setUp
This should avoid some failures due to stale objects. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13269 Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> (cherry picked from commit 19fcd872ec76afffbc4952266fdfad9a352c4871)
Diffstat (limited to 'source4/torture/drs')
-rw-r--r--source4/torture/drs/python/replica_sync.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/drs/python/replica_sync.py b/source4/torture/drs/python/replica_sync.py
index 93407df3962..927a085c1a6 100644
--- a/source4/torture/drs/python/replica_sync.py
+++ b/source4/torture/drs/python/replica_sync.py
@@ -42,6 +42,8 @@ class DrsReplicaSyncTestCase(drs_base.DrsBaseTestCase):
def setUp(self):
super(DrsReplicaSyncTestCase, self).setUp()
+ self._net_drs_replicate(DC=self.dnsname_dc2, fromDC=self.dnsname_dc1, forced=True)
+ self._net_drs_replicate(DC=self.dnsname_dc1, fromDC=self.dnsname_dc2, forced=True)
self.ou1 = None
self.ou2 = None