s3:blocking: demonstrate the posix lock retry fails
commit2ec9e93a7aac2706b4a5931495d56a7b64f8d894
authorStefan Metzmacher <metze@samba.org>
Thu, 15 Aug 2019 09:09:47 +0000 (15 11:09 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 9 Sep 2019 14:23:39 +0000 (9 14:23 +0000)
treea1f13b0fa2e9aa444be8843f2929f59f85bd8fb4
parentac28eec3e4af710feab3be3d4b25bfbe38294431
s3:blocking: demonstrate the posix lock retry fails

This is just a temporary commit that shows the bug and its
fix. It will be reverted once the problem is fixed.

The posix lock retry fails if the client specified timeout
is smaller than the hardcoded 1 second retry.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
selftest/knownfail.d/lock9 [new file with mode: 0644]
source3/smbd/blocking.c