selftest: Do not enable inbound replication during replica_sync
commit52349a7e69a933cbfe410241c7ad80d012886e02
authorAndrew Bartlett <abartlet@samba.org>
Thu, 20 Apr 2017 02:08:20 +0000 (20 14:08 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 22 Apr 2017 03:19:11 +0000 (22 05:19 +0200)
tree173fe7f337e9bda8b38cc1daa34e8fb194c328e4
parent306783d6f5d577a0b8bd31d659d8c802f22f0333
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
source4/torture/drs/python/replica_sync.py