diff options
Diffstat (limited to 'source3/torture/torture.c')
-rw-r--r-- | source3/torture/torture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c index 101f4071cb..f3b816c80f 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -829,7 +829,7 @@ static BOOL run_locktest1(int dummy) printf("Testing lock timeouts\n"); t1 = time(NULL); - if (cli_lock(&cli2, fnum3, 0, 4, 10*1000, WRITE_LOCK)) { + if (cli_lock(&cli2, fnum3, 0, 4, (1 + (random() % 20)) * 1000, WRITE_LOCK)) { printf("lock3 succeeded! This is a locking bug\n"); return False; } else { |