From fc4a8c17ef34aa3690510642277b7203c1973e7e Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 11 Dec 2018 19:42:09 +0100 Subject: [PATCH] py:dcerpc/raw_protocol: explicitly disconnect additional connections 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 Reviewed-by: Jeremy Allison --- python/samba/tests/dcerpc/raw_protocol.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/samba/tests/dcerpc/raw_protocol.py b/python/samba/tests/dcerpc/raw_protocol.py index edc305b756c..818bd42c950 100755 --- a/python/samba/tests/dcerpc/raw_protocol.py +++ b/python/samba/tests/dcerpc/raw_protocol.py @@ -4958,6 +4958,7 @@ class TestDCERPC_BIND(RawDCERPCTest): context_id=2, return_ack=True) self.assertNotEqual(ack2.u.assoc_group_id, ack1.u.assoc_group_id) + conn2._disconnect("End of Test") return def test_assoc_group_ok1(self): @@ -4986,6 +4987,7 @@ class TestDCERPC_BIND(RawDCERPCTest): self.do_single_request(call_id=1, ctx=ctx1, io=inq_if_ids) conn2.do_single_request(call_id=1, ctx=ctx2, io=inq_if_ids) + conn2._disconnect("End of Test") return -- 2.34.1