BIND 10 #1757: Lettuce failing with wrong number of additionals

BIND 10 Development do-not-reply at isc.org
Wed Mar 21 10:40:30 UTC 2012


#1757: Lettuce failing with wrong number of additionals
-------------------------------------+-------------------------------------
                   Reporter:         |                 Owner:
  vorner                             |                Status:  new
                       Type:         |             Milestone:  Next-Sprint-
  defect                             |  Proposed
                   Priority:         |            Resolution:
  medium                             |             Sensitive:  0
                  Component:         |           Sub-Project:  DNS
  b10-auth                           |  Estimated Difficulty:  0
                   Keywords:         |           Total Hours:  0
            Defect Severity:  N/A    |
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
Changes (by vorner):

 * milestone:   => Next-Sprint-Proposed


Comment:

 I'm getting this over and over again, now with these three tests:
 features/example.feature:41
 features/queries.feature:6
 features/queries.feature:62

 It's getting annoying (therefore proposing for the next sprint).

 Also, when I switched the check for exact content and the count, the check
 for exact content passes ‒ so there's a problem with the test miscounting
 the results, not with bind10 itself (probably):
 {{{
     The additional section of the last query response should be
 # features/terrain/querying.py:277
       | """                                    |
       | ns1.example.org.        3600    IN      A       192.0.2.3   |
       | ns2.example.org.        3600    IN      A       192.0.2.4   |
       | mail.example.org.       3600    IN      A       192.0.2.10 |
       | """                                    |
     The last query response should have adcount 3
 # features/terrain/querying.py:258
     The last query response should have adcount 3
 # features/terrain/querying.py:258
     Traceback (most recent call last):
       File "/home/vorner/.local/lib64/python2.7/site-
 packages/lettuce/core.py", line 117, in __call__
         ret = self.function(self.step, *args, **kw)
       File
 "/home/vorner/work/bind10/tests/lettuce/features/terrain/querying.py",
 line 274, in check_last_query
         "Got: " + str(lq_val) + ", expected: " + str(value)
     AssertionError: Got: 4, expected: 3
 }}}

-- 
Ticket URL: <http://bind10.isc.org/ticket/1757#comment:3>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list