resolv_integration_test: Test RRs in authority section and additional section
The authority section and additional section may have relevant
information about the query. Although getanswer() of
packages/modules/DnsResolver/getaddrinfo.cpp doesn't parse the
content, check them that don't crash the resolver, just in case.
Test: cd packages/modules/DnsResolver && atest
Change-Id: I2b441687a574616f775737b469ebb3cc2dbc377e
diff --git a/resolv_cache_unit_test.cpp b/resolv_cache_unit_test.cpp
index 1db209f..cf2f432 100644
--- a/resolv_cache_unit_test.cpp
+++ b/resolv_cache_unit_test.cpp
@@ -85,7 +85,7 @@
.rclass = question.qclass,
.ttl = ttl,
};
- test::DNSResponder::fillAnswerRdata(rdata_str, record);
+ test::DNSResponder::fillRdata(rdata_str, record);
header.answers.push_back(std::move(record));
}