diff --git a/source3/torture/test_cleanup.c b/source3/torture/test_cleanup.c index e96a5de9d4f..c5c53c3c4c4 100644 --- a/source3/torture/test_cleanup.c +++ b/source3/torture/test_cleanup.c @@ -127,7 +127,7 @@ bool run_cleanup2(int dummy) /* * Check the file is indeed locked */ - if (!torture_open_connection(&cli2, 0)) { + if (!torture_open_connection(&cli2, 1)) { return false; } status = cli_ntcreate(