BIND 10 trac2190, updated. 63e83a8f9c1ab9f7b32b76f80e65a771ee302cee [2190] do normal shutdown on msgq in statshttpd test

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Sep 19 08:06:10 UTC 2012


The branch, trac2190 has been updated
       via  63e83a8f9c1ab9f7b32b76f80e65a771ee302cee (commit)
      from  7230b23ea3aa18eb74d7f3eb705ef1f9ff0cee01 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 63e83a8f9c1ab9f7b32b76f80e65a771ee302cee
Author: Jelte Jansen <jelte at isc.org>
Date:   Wed Sep 19 10:03:30 2012 +0200

    [2190] do normal shutdown on msgq in statshttpd test

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

Summary of changes:
 src/bin/stats/tests/test_utils.py |   13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/bin/stats/tests/test_utils.py b/src/bin/stats/tests/test_utils.py
index f8abb57..55b08cb 100644
--- a/src/bin/stats/tests/test_utils.py
+++ b/src/bin/stats/tests/test_utils.py
@@ -107,19 +107,10 @@ class MockMsgq:
 
     def run(self):
         self._started.set()
-        try:
-            self.msgq.run()
-        except Exception:
-            pass
-        finally:
-            # explicitly shut down the socket of the msgq before
-            # shutting down the msgq
-            self.msgq.listen_socket.shutdown(msgq.socket.SHUT_RDWR)
-            self.msgq.shutdown()
+        self.msgq.run()
 
     def shutdown(self):
-        # do nothing
-        pass
+        self.msgq.shutdown()
 
 class MockCfgmgr:
     def __init__(self):



More information about the bind10-changes mailing list