s4/torture: add a creditting test skipping a SMB2 MID
authorRalph Boehme <slow@samba.org>
Mon, 27 Feb 2017 11:55:04 +0000 (12:55 +0100)
committerJeremy Allison <jra@samba.org>
Sat, 4 Mar 2017 00:54:07 +0000 (01:54 +0100)
commit53e9c2b65d56dbd365e945129148c4293da635bc
treee8ab08b94d2a2bc24ea9b87a09a1a3371a685691
parentcce2240f0844ef650f21b64a56acc814a60e0447
s4/torture: add a creditting test skipping a SMB2 MID

This tests that skipping a SMB2 MID the client's usable MID window is

[unused mid, unused mid + 8192]

The test currently fails against Samba as we only grant up to 512
credits. It passes against Windows 2016 as that grants up to 8192
credits by default.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Mar  4 01:54:07 CET 2017 on sn-devel-144
selftest/knownfail
source4/selftest/tests.py
source4/torture/smb2/credits.c