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:
@@ -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 {
|
||||
|
@@ -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
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user