Commit c5d416a0 authored by Jelte Jansen's avatar Jelte Jansen
Browse files

fix timeout tests

The tests worked, but the timeouts were so small that on somewhat slower
systems the tests could fail. Increased them a bit.
parent d6113a31
......@@ -805,7 +805,7 @@ TEST_F(ASIOLinkTest, forwardClientTimeout) {
RecursiveQuery query(*dns_service_,
singleAddress(TEST_IPV4_ADDR, port),
singleAddress(TEST_IPV4_ADDR, port),
5, 12, 1000, 3);
50, 120, 1000, 3);
Question question(Name("example.net"), RRClass::IN(), RRType::A());
OutputBufferPtr buffer(new OutputBuffer(0));
query.sendQuery(question, answer, buffer, &server);
......@@ -851,7 +851,7 @@ TEST_F(ASIOLinkTest, forwardLookupTimeout) {
RecursiveQuery query(*dns_service_,
singleAddress(TEST_IPV4_ADDR, port),
singleAddress(TEST_IPV4_ADDR, port),
5, 4000, 12, 5);
50, 4000, 120, 5);
Question question(Name("example.net"), RRClass::IN(), RRType::A());
OutputBufferPtr buffer(new OutputBuffer(0));
query.sendQuery(question, answer, buffer, &server);
......
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