selftest/Samba3: make use of 'smbd:FSCTL_SMBTORTURE = yes'
authorStefan Metzmacher <metze@samba.org>
Tue, 23 Jun 2020 13:56:34 +0000 (15:56 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 8 Jul 2020 15:54:40 +0000 (15:54 +0000)
This makes sure the lease/oplock break retry logic based on
missing TCP acks is tested.

We're still not able to run multichannel tests automatically,
as socket wrapper doesn't support fd-passing yet.

But this testing this with single channels is a good start.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11897

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
selftest/knownfail.d/smb2-break-retry [deleted file]
selftest/target/Samba3.pm

diff --git a/selftest/knownfail.d/smb2-break-retry b/selftest/knownfail.d/smb2-break-retry
deleted file mode 100644 (file)
index a55e828..0000000
+++ /dev/null
@@ -1 +0,0 @@
-^samba3.smb2.oplock.batch22b.nt4_dc
index 2e2f74efb79764d787b5558b8ba88eee734b30a9..79feaa188ed1ac4b3100affbc79f6c9f0e2a4a18 100755 (executable)
@@ -2204,6 +2204,7 @@ sub provision($$)
        bind interfaces only = yes
        panic action = cd $self->{srcdir} && $self->{srcdir}/selftest/gdb_backtrace %d %\$(MAKE_TEST_BINARY)
        smbd:suicide mode = yes
+       smbd:FSCTL_SMBTORTURE = yes
 
        client min protocol = SMB2_02
        server min protocol = SMB2_02