torture: Only error if the write time was updated is less than the expected delay
authorAndrew Bartlett <abartlet@samba.org>
Fri, 20 Jun 2014 10:28:49 +0000 (22:28 +1200)
committerJeremy Allison <jra@samba.org>
Mon, 23 Jun 2014 21:30:14 +0000 (23:30 +0200)
commitf407f58fd36f83ef7ead900610a1ff353c09db08
tree7cf5e0e9c5e800a9cd15896df9b51de763ffc710
parent24a73bb5264bda80a26761707a2cf6d9912c09ea
torture: Only error if the write time was updated is less than the expected delay

The previous test was far, far too tight, it was in seconds 1/4 of the
fraction of the normal delay we had configured Samba to use so (1/4) *
(500 000 / 2000 000) = 1/16 (sec).  This margin appears to just be too
tight for our loaded test server.

Andrew Bartlett

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/torture/basic/delaywrite.c