From: Razvan Becheriu Date: Thu, 5 Aug 2021 14:45:46 +0000 (+0300) Subject: [#1960] change unittest port X-Git-Tag: Kea-1.9.11~132 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6fa6979d54888edbb206fe5fcb6cf5a487a1bfb;p=thirdparty%2Fkea.git [#1960] change unittest port --- diff --git a/src/bin/d2/tests/dns_client_unittests.cc b/src/bin/d2/tests/dns_client_unittests.cc index 02bbc569c8..33ef999157 100644 --- a/src/bin/d2/tests/dns_client_unittests.cc +++ b/src/bin/d2/tests/dns_client_unittests.cc @@ -34,7 +34,7 @@ namespace ph = std::placeholders; namespace { const char* TEST_ADDRESS = "127.0.0.1"; -const uint16_t TEST_PORT = 5301; +const uint16_t TEST_PORT = 5381; const size_t MAX_SIZE = 1024; const long TEST_TIMEOUT = 5 * 1000; /// @brief Test Fixture class @@ -357,7 +357,7 @@ public: udp_socket.bind(udp::endpoint(address::from_string(TEST_ADDRESS), TEST_PORT)); // Once socket is created, we can post an IO request to receive some - // a packet from this socket. This is asynchronous operation and + // packet from this socket. This is asynchronous operation and // nothing is received until another IO request to send a query is // posted and the run() is invoked on this IO. A callback function is // attached to this asynchronous read. This callback function requires