Commit 05afc745 authored by Dima Volodin's avatar Dima Volodin
Browse files

[1386] EDNS fallback unittest

parent 8c96b066
......@@ -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;
......
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