diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-04-22 11:37:41 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-04-22 18:37:19 +1000 |
commit | fe3d872656ff68de60c1af91ccf292e2565fde8b (patch) | |
tree | 1cdf28d27dec8a7c59ac0ff024fd679bacc19b96 /selftest/target | |
parent | cbb818222aea20b47adbcd5e4461949d7e5d5107 (diff) | |
download | samba-fe3d872656ff68de60c1af91ccf292e2565fde8b.tar.gz samba-fe3d872656ff68de60c1af91ccf292e2565fde8b.tar.bz2 samba-fe3d872656ff68de60c1af91ccf292e2565fde8b.zip |
s4:selftest Ensure we don't fsync() all day in the LDAP backend test
Passing this option greatly reduces the time spent in the test.
Andrew Bartlett
Diffstat (limited to 'selftest/target')
-rw-r--r-- | selftest/target/Samba4.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm index 4d6bca91b6..c5b6d77362 100644 --- a/selftest/target/Samba4.pm +++ b/selftest/target/Samba4.pm @@ -806,6 +806,7 @@ sub provision($$$$$$$) if (defined($self->{ldap})) { $ret->{LDAP_URI} = $ctx->{ldap_uri}; push (@{$ctx->{provision_options}}, "--ldap-backend-type=" . $self->{ldap}); + push (@{$ctx->{provision_options}}, "--ldap-backend-nosync"); if ($self->{ldap} eq "openldap") { push (@{$ctx->{provision_options}}, "--slapd-path=" . $ENV{OPENLDAP_SLAPD}); ($ret->{SLAPD_CONF_D}, $ret->{OPENLDAP_PIDFILE}) = $self->mk_openldap($ctx) or die("Unable to create openldap directories"); |