From a6781441628a40bc8b4694280eeda0b6b6bcea71 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 17 Apr 2009 19:59:25 +0200 Subject: 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 --- source4/torture/rpc/echo.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source4/torture/rpc') diff --git a/source4/torture/rpc/echo.c b/source4/torture/rpc/echo.c index 840ce5485c..8696b99b24 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; } -- cgit