Commit 8c0f14cc authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[1462] recovered another ixfr-to-axfr test case.

parent 0f43276e
......@@ -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)
......
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