s4-torture: Add lease break retry tests - test2
authorSachin Prabhu <sprabhu@redhat.com>
Mon, 11 Mar 2019 14:34:29 +0000 (14:34 +0000)
committerJeremy Allison <jra@samba.org>
Fri, 19 Apr 2019 17:27:14 +0000 (17:27 +0000)
commit63b4b4ce12b4d72f0dc01d28e5cc66d979fd13d6
tree30ff12cf4ab74366799825e6a319c760ac5ed54c
parent311c024b4cc8507515db82f9e12ea638759657ae
s4-torture: Add lease break retry tests - test2

Test to check if lease breaks are sent by the server as expected.

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