|
@@ -265,9 +265,19 @@ rrsetsCheck(EXPECTED_ITERATOR expected_begin, EXPECTED_ITERATOR expected_end,
|
|
|
"Expected:\n" + expected_text);
|
|
|
// make sure all expected RRsets are in actual sets
|
|
|
EXPECT_EQ(std::distance(expected_begin, expected_end), rrset_matched);
|
|
|
+
|
|
|
+#if (0)
|
|
|
+ // Disabled by #2165. The RRSIG RRsets are no longer directly
|
|
|
+ // stored in the Message's rrsets, so the iterator will not find
|
|
|
+ // them. The expected text used in many tests are flattened,
|
|
|
+ // where the RRSIGs are inline. In other words, RRSIGs may occur
|
|
|
+ // between (expected_begin, expected_end) but not between
|
|
|
+ // (actual_begin, actual_end).
|
|
|
+
|
|
|
// make sure rrsets only contains expected RRsets
|
|
|
EXPECT_EQ(std::distance(expected_begin, expected_end),
|
|
|
std::distance(actual_begin, actual_end));
|
|
|
+#endif
|
|
|
}
|
|
|
}
|
|
|
|