BIND 10 master, updated. c5d416a01e152b936c0023fcc65d3d468250388b fix timeout tests
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Jan 27 12:55:25 UTC 2011
The branch, master has been updated
via c5d416a01e152b936c0023fcc65d3d468250388b (commit)
from d6113a313ff848124a3ecd2e58b17bb04b5bcbee (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 c5d416a01e152b936c0023fcc65d3d468250388b
Author: Jelte Jansen <jelte at isc.org>
Date: Thu Jan 27 13:54:16 2011 +0100
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.
-----------------------------------------------------------------------
Summary of changes:
src/lib/asiolink/tests/asiolink_unittest.cc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/asiolink/tests/asiolink_unittest.cc b/src/lib/asiolink/tests/asiolink_unittest.cc
index 3e8d1a6..c83c090 100644
--- a/src/lib/asiolink/tests/asiolink_unittest.cc
+++ b/src/lib/asiolink/tests/asiolink_unittest.cc
@@ -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);
More information about the bind10-changes
mailing list