summaryrefslogtreecommitdiff
path: root/selftest/target
diff options
context:
space:
mode:
authorTim Beale <timbeale@catalyst.net.nz>2017-08-15 12:18:02 +1200
committerGarming Sam <garming@samba.org>2017-09-18 05:51:25 +0200
commit10df9f6bfd04af08d095b6796f902888f1172b9f (patch)
tree883d822b727d0bba6b0a335be90104b53ef64fa0 /selftest/target
parent693e3adc1aebdf75d6d9f9866ec8f39ea9d5557b (diff)
downloadsamba-10df9f6bfd04af08d095b6796f902888f1172b9f.tar.gz
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>
Diffstat (limited to 'selftest/target')
-rwxr-xr-xselftest/target/Samba4.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm
index 3d148850e07..7930a4ec8a8 100755
--- a/selftest/target/Samba4.pm
+++ b/selftest/target/Samba4.pm
@@ -1293,7 +1293,8 @@ sub provision_vampire_dc($$$)
if ($fl == "2000") {
$name = "vampire2000dc";
} else {
- $extra_conf = "drs: immediate link sync = yes";
+ $extra_conf = "drs: immediate link sync = yes
+ drs: max link sync = 250";
}
# We do this so that we don't run the provision. That's the job of 'net vampire'.