torture: Run the cleanup2 test against 2 nodes
authorVolker Lendecke <vl@samba.org>
Wed, 20 Aug 2014 09:52:39 +0000 (09:52 +0000)
committerJeremy Allison <jra@samba.org>
Fri, 22 Aug 2014 22:24:18 +0000 (00:24 +0200)
This enables testing the brlock cleanup across ctdb

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/torture/test_cleanup.c

index e96a5de9d4f9553a54350f293891c8e3e6c3a7f7..c5c53c3c4c40efccebb350e69746bc6908cc2319 100644 (file)
@@ -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(