py:dcerpc/raw_protocol: consistently call self.recv_pdu(timeout=0.01) after auth3
authorStefan Metzmacher <metze@samba.org>
Wed, 21 Nov 2018 10:49:40 +0000 (11:49 +0100)
committerJeremy Allison <jra@samba.org>
Sat, 12 Jan 2019 02:13:40 +0000 (03:13 +0100)
commitfb9f613364d6ec32ae22b12b1d6785f094154de2
tree295473c591e44b812d7c977b2bb51c2450356ae2
parent5466ed1232ee5e13335a79bf04e6205f901f6e21
py:dcerpc/raw_protocol: consistently call self.recv_pdu(timeout=0.01) after auth3

When we don't expect a FAULT, we should wait a little bit to check
there's no response to auth3 request. This reduces the raw_procol
test from 45s down to 35s total runtime against Windows.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=7113
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11892

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
python/samba/tests/dcerpc/raw_protocol.py