]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:RPC-ECHO: disable the timeout test as it can't work with our client library
authorStefan Metzmacher <metze@samba.org>
Fri, 17 Apr 2009 17:59:25 +0000 (19:59 +0200)
committerStefan Metzmacher <metze@samba.org>
Sat, 25 Apr 2009 04:09:04 +0000 (06:09 +0200)
We need proper ways to cancel requests in order to have that
test working against a correctly behaving server over ncacn_np.

metze

source4/torture/rpc/echo.c

index 840ce5485ceb264d94b110a148a23d5a4e0e77d8..8696b99b24da10d5a86078ea47e0b01817961af4 100644 (file)
@@ -372,6 +372,7 @@ static bool test_doublepointer(struct torture_context *tctx,
 /*
   test request timeouts
 */
+#if 0 /* this test needs fixing to work over ncacn_np */
 static bool test_timeout(struct torture_context *tctx,
                                                 struct dcerpc_pipe *p)
 {
@@ -425,7 +426,7 @@ failed:
        p->request_timeout = timeout_saved;
        return false;
 }
-
+#endif
 
 struct torture_suite *torture_rpc_echo(TALLOC_CTX *mem_ctx)
 {
@@ -446,7 +447,9 @@ struct torture_suite *torture_rpc_echo(TALLOC_CTX *mem_ctx)
        torture_rpc_tcase_add_test(tcase, "surrounding", test_surrounding);
        torture_rpc_tcase_add_test(tcase, "doublepointer", test_doublepointer);
        torture_rpc_tcase_add_test(tcase, "sleep", test_sleep);
+#if 0 /* this test needs fixing to work over ncacn_np */
        torture_rpc_tcase_add_test(tcase, "timeout", test_timeout);
+#endif
 
        return suite;
 }