|
@@ -1089,12 +1089,12 @@ class TestXfroutSessionWithSQLite3(TestXfroutSessionBase):
|
|
|
|
|
|
def test_ixfr_to_axfr(self):
|
|
|
self.xfrsess._request_data = \
|
|
|
- self.create_request_data(ixfr=2000000000)
|
|
|
+ self.create_request_data(ixfr=IXFR_NG_VERSION)
|
|
|
XfroutSession._handle(self.xfrsess)
|
|
|
response = self.sock.read_msg(Message.PRESERVE_ORDER);
|
|
|
self.assertEqual(Rcode.NOERROR(), response.get_rcode())
|
|
|
- # The SOA serial is greater than that of requested one.
|
|
|
- # So only the SOA was send.
|
|
|
+ # This is an AXFR-style IXFR. So the question section should indicate
|
|
|
+ # that it's an IXFR resposne.
|
|
|
self.assertEqual(RRType.IXFR(), response.get_question()[0].get_type())
|
|
|
self.check_axfr_stream(response)
|
|
|
|