selftest: Pass the dcerpc binding object to self.waitForMessages in auth_log
authorAndrew Bartlett <abartlet@samba.org>
Mon, 12 Jun 2017 23:20:58 +0000 (11:20 +1200)
committerGarming Sam <garming@samba.org>
Wed, 14 Jun 2017 23:24:25 +0000 (01:24 +0200)
commitcf99f2c92391fb1652bbef93089d60b11f1b8229
tree1fdd9fd098667952453abf1720a6a417683043cd
parent2f045e7fc147aab2a4c7f356f0ce834f47cdff42
selftest: Pass the dcerpc binding object to self.waitForMessages in auth_log

This ensures that object is not cleaned up, triggering a disconnect before we get back
the audit messages.  Otherwise they can be lost when the server task calls exit()
while the message thread is still trying to send them.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
python/samba/tests/auth_log.py
python/samba/tests/auth_log_samlogon.py