]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2439] Lettuce tests for post-xfrin validation
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>
Thu, 24 Jan 2013 18:27:12 +0000 (19:27 +0100)
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>
Thu, 24 Jan 2013 18:27:12 +0000 (19:27 +0100)
Check the data in existing tests produce warnings, but the data is still
accepted.

tests/lettuce/features/xfrin_bind10.feature

index 34674ca4f3f228fbeb8f95a1b18a087198522ce6..324a3db3dabd17715cccbe19953390ce809269f9 100644 (file)
@@ -25,6 +25,13 @@ Feature: Xfrin
 
     A query for www.example.org to [::1]:47806 should have rcode REFUSED
     When I send bind10 the command Xfrin retransfer example.org IN ::1 47807
+    # The data we receive contain a NS RRset that refers to three names in the
+    # example.org. zone. All these three are nonexistent in the data, producing
+    # 3 separate warning messages in the log.
+    And wait for new bind10 stderr message XFRIN_ZONE_WARN
+    And wait for new bind10 stderr message XFRIN_ZONE_WARN
+    And wait for new bind10 stderr message XFRIN_ZONE_WARN
+    # But after complaining, the zone data should be accepted.
     Then wait for new bind10 stderr message XFRIN_TRANSFER_SUCCESS not XFRIN_XFR_PROCESS_FAILURE
     Then wait for new bind10 stderr message ZONEMGR_RECEIVE_XFRIN_SUCCESS
     A query for www.example.org to [::1]:47806 should have rcode NOERROR