r7657: test addone again after request timeout and destruction to ensure the pipe...
authorAndrew Tridgell <tridge@samba.org>
Thu, 16 Jun 2005 23:30:02 +0000 (23:30 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:18:18 +0000 (13:18 -0500)
source/torture/rpc/echo.c

index 94400247a62a3b221b910507b0fae96683da2346..a579190f470c75b8cf3eed7a8debfc2b46444aee 100644 (file)
@@ -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;