mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
r7657: test addone again after request timeout and destruction to ensure the pipe is still OK
(This used to be commit 9f7f70124fc67109bc9ace7a57490851341ad759)
This commit is contained in:
parent
dc8961ad42
commit
07c395a40b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user