BIND 10 trac624, updated. add0f697aec63c9af1df661951bda2ae007c98bf [trac624] Fix for build on OSX

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Feb 24 16:44:31 UTC 2011


The branch, trac624 has been updated
       via  add0f697aec63c9af1df661951bda2ae007c98bf (commit)
      from  6fb5dd6bf0e9fcb0d00eb3f659b5b9c45340bb37 (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 add0f697aec63c9af1df661951bda2ae007c98bf
Author: Stephen Morris <stephen at isc.org>
Date:   Thu Feb 24 16:43:30 2011 +0000

    [trac624] Fix for build on OSX
    
    In the test for UDPSocket, use io_service::run_one() instead of
    poll().

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

Summary of changes:
 src/lib/asiolink/tests/udp_socket_unittest.cc |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/asiolink/tests/udp_socket_unittest.cc b/src/lib/asiolink/tests/udp_socket_unittest.cc
index 7332d29..3033857 100644
--- a/src/lib/asiolink/tests/udp_socket_unittest.cc
+++ b/src/lib/asiolink/tests/udp_socket_unittest.cc
@@ -257,9 +257,9 @@ TEST(UDPSocket, SequenceTest) {
     server.async_send_to(buffer(INBOUND_DATA, sizeof(INBOUND_DATA)),
         server_remote_endpoint.getASIOEndpoint(), server_cb);
 
-    // Expect two callbacks to run
-    service.get_io_service().poll();
-    //service.run_one();
+    // Expect the two callbacks to run
+    service.run_one();
+    service.run_one();
 
     EXPECT_TRUE(client_cb.getCalled());
     EXPECT_EQ(0, client_cb.getCode());




More information about the bind10-changes mailing list