2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 21:45:37 +00:00

[1386] EDNS fallback unittest

This commit is contained in:
Dima Volodin
2011-12-16 06:38:50 -05:00
parent 8c96b066c5
commit 05afc74542
3 changed files with 3 additions and 2 deletions

View File

@@ -380,7 +380,7 @@ private:
IOFetch query(protocol, io_, question_,
test_server_.first,
test_server_.second, buffer_, this,
query_timeout_);
query_timeout_, edns_);
io_.get_io_service().post(query);
} else {

View File

@@ -23,6 +23,7 @@ run_unittests_SOURCES += resolver_callback_unittest.cc
run_unittests_SOURCES += response_classifier_unittest.cc
run_unittests_SOURCES += recursive_query_unittest.cc
run_unittests_SOURCES += recursive_query_unittest_2.cc
run_unittests_SOURCES += recursive_query_unittest_3.cc
run_unittests_LDADD = $(GTEST_LDADD)
run_unittests_LDADD += $(top_builddir)/src/lib/nsas/libnsas.la

View File

@@ -229,7 +229,7 @@ public:
break;
case NON_EDNS_UDP:
EXPECT_TRUE(query.getEDNS());
EXPECT_FALSE(query.getEDNS());
// Return the answer to the question.
setAnswer(message);
expected_ = COMPLETE;