Commit 50cd6497 authored by Thomas Markwalder's avatar Thomas Markwalder
Browse files

[master] Fix for 3387, asiodns::IOFetch unit test failing

The unit test, IOFetchTest.TcpSendReceive65535, was failing
routinely on a NetBSD VM.  The VM was running so slowly that
this test was timing out.  Typically it takes less than
500ms. On this VM it was taking over 4.5s and then hitting
a safety valve timeout.  That timeout value was increased.
parent 60d2db6f
...@@ -106,7 +106,7 @@ public: ...@@ -106,7 +106,7 @@ public:
udp_fetch_(IOFetch::UDP, service_, question_, IOAddress(TEST_HOST), udp_fetch_(IOFetch::UDP, service_, question_, IOAddress(TEST_HOST),
TEST_PORT, result_buff_, this, 100), TEST_PORT, result_buff_, this, 100),
tcp_fetch_(IOFetch::TCP, service_, question_, IOAddress(TEST_HOST), tcp_fetch_(IOFetch::TCP, service_, question_, IOAddress(TEST_HOST),
TEST_PORT, result_buff_, this, (16 * SEND_INTERVAL)), TEST_PORT, result_buff_, this, (24 * SEND_INTERVAL)),
// Timeout interval chosen to ensure no timeout // Timeout interval chosen to ensure no timeout
protocol_(IOFetch::TCP), // for initialization - will be changed protocol_(IOFetch::TCP), // for initialization - will be changed
cumulative_(0), cumulative_(0),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment