From: Stefan Metzmacher Date: Fri, 17 Apr 2009 17:59:25 +0000 (+0200) Subject: s4:RPC-ECHO: disable the timeout test as it can't work with our client library X-Git-Tag: tdb-1.1.5~895 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6781441628a40bc8b4694280eeda0b6b6bcea71;p=thirdparty%2Fsamba.git s4:RPC-ECHO: disable the timeout test as it can't work with our client library We need proper ways to cancel requests in order to have that test working against a correctly behaving server over ncacn_np. metze --- diff --git a/source4/torture/rpc/echo.c b/source4/torture/rpc/echo.c index 840ce5485ce..8696b99b24d 100644 --- a/source4/torture/rpc/echo.c +++ b/source4/torture/rpc/echo.c @@ -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; }