BIND 10 trac1357, updated. e9c984fb457ca225f77f8ce466e129670109169c [1357] Test nothing is committed on error

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Sep 21 07:01:04 UTC 2012


The branch, trac1357 has been updated
       via  e9c984fb457ca225f77f8ce466e129670109169c (commit)
      from  5c5f0831bee890e2245339d6f29b03ff33f94f9f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e9c984fb457ca225f77f8ce466e129670109169c
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date:   Fri Sep 21 08:57:52 2012 +0200

    [1357] Test nothing is committed on error

-----------------------------------------------------------------------

Summary of changes:
 src/bin/xfrin/tests/xfrin_test.py |    2 ++
 1 file changed, 2 insertions(+)

-----------------------------------------------------------------------
diff --git a/src/bin/xfrin/tests/xfrin_test.py b/src/bin/xfrin/tests/xfrin_test.py
index 399c7a4..7b9100e 100644
--- a/src/bin/xfrin/tests/xfrin_test.py
+++ b/src/bin/xfrin/tests/xfrin_test.py
@@ -583,6 +583,8 @@ class TestXfrinIXFRAdd(TestXfrinState):
         # signed, rejecting it.
         self.assertRaises(xfrin.XfrinProtocolError, self.state.handle_rr,
                           self.conn, end_soa_rrset)
+        # No diffs were commited
+        self.assertEqual([], self.conn._datasrc_client.committed_diffs)
 
     def test_handle_out_of_sync(self):
         # getting SOA with an inconsistent serial.  This is an error.



More information about the bind10-changes mailing list