BIND 10 trac1791, updated. 9858d6dd9af2640765266d6b99056e93dc368277 [1791] missing regression fix: needed to adjust python datasrc tests.
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Apr 6 00:27:39 UTC 2012
The branch, trac1791 has been updated
via 9858d6dd9af2640765266d6b99056e93dc368277 (commit)
from dcdd4e10f22f795754f91805b741988ef8a389c2 (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 9858d6dd9af2640765266d6b99056e93dc368277
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Thu Apr 5 17:26:15 2012 -0700
[1791] missing regression fix: needed to adjust python datasrc tests.
this is a result of the "unrelated" bug fix at commit b446618.
I also clarified the magic number of expected RRsets in comments.
-----------------------------------------------------------------------
Summary of changes:
src/lib/python/isc/datasrc/tests/datasrc_test.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/python/isc/datasrc/tests/datasrc_test.py b/src/lib/python/isc/datasrc/tests/datasrc_test.py
index c8823cd..c7bf6b4 100644
--- a/src/lib/python/isc/datasrc/tests/datasrc_test.py
+++ b/src/lib/python/isc/datasrc/tests/datasrc_test.py
@@ -262,16 +262,16 @@ class DataSrcClient(unittest.TestCase):
rrets = dsc.get_iterator(isc.dns.Name("example.com"))
# there are more than 80 RRs in this zone... let's just count them
# (already did a full check of the smaller zone above)
- self.assertEqual(55, len(list(rrets)))
+ # There are 40 non-RRSIG RRsets and 32 dinstinct RRSIGs.
+ self.assertEqual(72, len(list(rrets)))
# same test, but now with explicit False argument for separate_rrs
dsc = isc.datasrc.DataSourceClient("sqlite3", READ_ZONE_DB_CONFIG)
rrets = dsc.get_iterator(isc.dns.Name("example.com"), False)
# there are more than 80 RRs in this zone... let's just count them
# (already did a full check of the smaller zone above)
- self.assertEqual(55, len(list(rrets)))
+ self.assertEqual(72, len(list(rrets)))
- # Count should be 71 if we request individual rrsets for differing ttls
dsc = isc.datasrc.DataSourceClient("sqlite3", READ_ZONE_DB_CONFIG)
rrets = dsc.get_iterator(isc.dns.Name("example.com"), True)
# there are more than 80 RRs in this zone... let's just count them
More information about the bind10-changes
mailing list