summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-04-17 19:59:25 +0200
committerStefan Metzmacher <metze@samba.org>2009-04-25 06:09:04 +0200
commita6781441628a40bc8b4694280eeda0b6b6bcea71 (patch)
tree2d1e9b62ac09419a4e371acce904619f9cbd2fde /source4
parent09f1754a9b402e0be5926ea6217f2592423c38da (diff)
downloadsamba-a6781441628a40bc8b4694280eeda0b6b6bcea71.tar.gz
samba-a6781441628a40bc8b4694280eeda0b6b6bcea71.tar.bz2
samba-a6781441628a40bc8b4694280eeda0b6b6bcea71.zip
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
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/rpc/echo.c5
1 files changed, 4 insertions, 1 deletions
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;
}