getncchanges.py: Add a multi-valued linked attribute test
authorTim Beale <timbeale@catalyst.net.nz>
Tue, 15 Aug 2017 00:18:02 +0000 (12:18 +1200)
committerGarming Sam <garming@samba.org>
Mon, 18 Sep 2017 03:51:25 +0000 (05:51 +0200)
commit10df9f6bfd04af08d095b6796f902888f1172b9f
tree883d822b727d0bba6b0a335be90104b53ef64fa0
parent693e3adc1aebdf75d6d9f9866ec8f39ea9d5557b
getncchanges.py: Add a multi-valued linked attribute test

Add a test where a source object links to multiple different targets.
First we do the replication without GET_TGT and check that the server
can handle sending a chunk containing only links (in the middle of the
replication). Then we repeat the replication forcing GET_TGT to be used.

To avoid having to create 1500 objects/links, I've lowered the 'max
link sync' setting on the vampire_dc testenv to 250.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
selftest/knownfail.d/getncchanges
selftest/target/Samba4.pm
source4/torture/drs/python/getncchanges.py