s4-torture: Add oplock break retry tests - test2
authorSachin Prabhu <sprabhu@redhat.com>
Mon, 11 Mar 2019 20:02:33 +0000 (20:02 +0000)
committerJeremy Allison <jra@samba.org>
Fri, 19 Apr 2019 17:27:14 +0000 (17:27 +0000)
commitee0a247a9b769d5e5d012b30501002b9c56ccf32
tree0f119ab27c90c14024881f545c63287b107f6913
parent31c9b74d7add68dfc8dc1cb7e4234169f7d0b652
s4-torture: Add oplock break retry tests - test2

Test to see if oplock break retries are sent by the server.
Also checks to see if new channels can be created and used
after an oplock break retry.

The test by default blocks channels by ignoring incoming lease break
requests on that channel. This does not work when testing against a
windows server.
Use --option=torture:use_iptables=true to use iptables to block ports
instead when testing against windows servers.

Signed-off-by: Guenther Deschner <gd@samba.org>
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/torture/smb2/multichannel.c