BIND 10 master, updated. 6d1d496ef090cfc188842a1fd1f9d0ca1b695826 [master] skip test cases that rely on select.poll. it's not always available.

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Jun 25 20:19:59 UTC 2013


The branch, master has been updated
       via  6d1d496ef090cfc188842a1fd1f9d0ca1b695826 (commit)
      from  18155a69d96d21d845f990010d4e6fdf9589fd6a (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 6d1d496ef090cfc188842a1fd1f9d0ca1b695826
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Tue Jun 25 13:18:17 2013 -0700

    [master] skip test cases that rely on select.poll. it's not always available.
    
    this is an urgent care fix to #3014; we'll need cleaner solution (I
    suggest #2690), but we should keep the master branch testable at least
    for all developers and buildbots.

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

Summary of changes:
 src/bin/msgq/tests/msgq_test.py |    5 +++++
 1 file changed, 5 insertions(+)

-----------------------------------------------------------------------
diff --git a/src/bin/msgq/tests/msgq_test.py b/src/bin/msgq/tests/msgq_test.py
index 0c7d372..3d0cbf9 100644
--- a/src/bin/msgq/tests/msgq_test.py
+++ b/src/bin/msgq/tests/msgq_test.py
@@ -19,6 +19,7 @@ from msgq import SubscriptionManager, MsgQ
 import unittest
 import os
 import socket
+import select # needed only for #3014. can be removed once it's solved
 import signal
 import sys
 import time
@@ -273,6 +274,8 @@ class MsgQTest(unittest.TestCase):
         sock = Sock(1)
         return notifications, sock
 
+    @unittest.skipUnless('POLLIN' in select.__dict__,
+                         'cannot perform tests requiring select.poll')
     def test_notifies(self):
         """
         Test the message queue sends notifications about connecting,
@@ -312,6 +315,8 @@ class MsgQTest(unittest.TestCase):
         self.__msgq.kill_socket(sock.fileno(), sock)
         self.assertEqual([('disconnected', {'client': lname})], notifications)
 
+    @unittest.skipUnless('POLLIN' in select.__dict__,
+                         'cannot perform tests requiring select.poll')
     def test_notifies_implicit_kill(self):
         """
         Test that the unsubscription notifications are sent before the socket



More information about the bind10-changes mailing list