The branch, master has been updated
       via  c8d7e4c selftest: Clean up ldb on tearDown from each packet in 
TrafficEmulatorPacketTests
      from  7049b21 socket_wrapper: Add missing dependency on tirpc

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit c8d7e4c8985ab08b8f5580c1d823cf6b54b273c7
Author: Andrew Bartlett <abart...@samba.org>
Date:   Mon May 21 10:40:00 2018 +1200

    selftest: Clean up ldb on tearDown from each packet in 
TrafficEmulatorPacketTests
    
    Otherwise the LDB (and so the server resources) are in use until the end of 
the whole test
    due to the way the objects are maintained in python for reporting.
    
    Signed-off-by: Andrew Bartlett <abart...@samba.org>
    Reviewed-by: Jeremy Allison <j...@samba.org>
    
    Autobuild-User(master): Jeremy Allison <j...@samba.org>
    Autobuild-Date(master): Wed May 23 00:53:25 CEST 2018 on sn-devel-144

-----------------------------------------------------------------------

Summary of changes:
 python/samba/tests/emulate/traffic_packet.py | 1 +
 1 file changed, 1 insertion(+)


Changeset truncated at 500 lines:

diff --git a/python/samba/tests/emulate/traffic_packet.py 
b/python/samba/tests/emulate/traffic_packet.py
index a2c4567..56b1267 100644
--- a/python/samba/tests/emulate/traffic_packet.py
+++ b/python/samba/tests/emulate/traffic_packet.py
@@ -89,6 +89,7 @@ class TrafficEmulatorPacketTests(samba.tests.TestCase):
     def tearDown(self):
         super(TrafficEmulatorPacketTests, self).tearDown()
         traffic.clean_up_accounts(self.ldb, 1)
+        del self.ldb
         shutil.rmtree(self.tempdir)
 
     def test_packet_cldap_03(self):


-- 
Samba Shared Repository

Reply via email to