summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/torture/rpc/echo.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source4/torture/rpc/echo.c b/source4/torture/rpc/echo.c
index 94400247a6..a579190f47 100644
--- a/source4/torture/rpc/echo.c
+++ b/source4/torture/rpc/echo.c
@@ -432,11 +432,10 @@ static BOOL test_timeout(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
if (!NT_STATUS_EQUAL(status, NT_STATUS_IO_TIMEOUT)) {
printf("request should have timed out - %s\n", nt_errstr(status));
goto failed;
- }
-
+ }
p->request_timeout = timeout_saved;
- return True;
+ return test_addone(p, mem_ctx);
failed:
p->request_timeout = timeout_saved;