this is in seconds
authorAndrew Tridgell <tridge@samba.org>
Fri, 25 Jan 2008 06:27:17 +0000 (17:27 +1100)
committerAndrew Tridgell <tridge@samba.org>
Fri, 25 Jan 2008 06:27:17 +0000 (17:27 +1100)
source/torture/raw/open.c

index 47f32b619b0fbfc977c5906afb7f387536e2b69c..76bc0ca53de2fc8b4362429d30d8bbbc3ccdb1f5 100644 (file)
@@ -1367,7 +1367,7 @@ static bool test_raw_open_multi(struct torture_context *tctx)
                return false;
        }
 
                return false;
        }
 
-       cli->tree->session->transport->options.request_timeout = 60000;
+       cli->tree->session->transport->options.request_timeout = 60;
 
        for (i=0; i<num_files; i++) {
                if (!torture_open_connection_share(mem_ctx, &(clients[i]),
 
        for (i=0; i<num_files; i++) {
                if (!torture_open_connection_share(mem_ctx, &(clients[i]),
@@ -1375,8 +1375,7 @@ static bool test_raw_open_multi(struct torture_context *tctx)
                        DEBUG(0, ("Could not open %d'th connection\n", i));
                        return false;
                }
                        DEBUG(0, ("Could not open %d'th connection\n", i));
                        return false;
                }
-               clients[i]->tree->session->transport->
-                       options.request_timeout = 60000;
+               clients[i]->tree->session->transport->options.request_timeout = 60;
        }
 
        /* cleanup */
        }
 
        /* cleanup */