selftest: Do not enable inbound replication during replica_sync
authorAndrew Bartlett <abartlet@samba.org>
Thu, 20 Apr 2017 02:08:20 +0000 (14:08 +1200)
committerStefan Metzmacher <metze@samba.org>
Thu, 13 Jul 2017 18:01:25 +0000 (20:01 +0200)
commit04676d6feb0500df24149fe7abebe0bfbd2a2f43
tree8ffa899c3c687ff4d8f36a5df811667bfba1519d
parent7b04fb46d2656f88a6b1084604eef44ef1220563
selftest: Do not enable inbound replication during replica_sync

Instead we should use the forced=True to only do a very specific
replication, and so avoid noise from any other DC also live
on the network.  This extra replication in turn causes (and this
patch fixes) flapping replica_sync tests.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12753

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Sat Apr 22 05:19:11 CEST 2017 on sn-devel-144

(cherry picked from commit 52349a7e69a933cbfe410241c7ad80d012886e02)
source4/torture/drs/python/replica_sync.py