Opened 7 years ago

Closed 5 years ago

#2338 closed defect (wontfix)

Add tests for ZoneDataUpdater

Reported by: muks Owned by:
Priority: medium Milestone: Remaining BIND10 tickets
Component: data source Version: bind10-old
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: DNS Feature Depending on Ticket:
Estimated Difficulty: 5 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description (last modified by muks)

Bug #2268 introduced the ZoneDataUpdater class. It did not add tests as these are covered already by InMemoryClient's tests. There are many testcases to do with validation that are in InMemoryClient's tests (the ZoneDataUpdater code used to first be a part of InMemoryClient).

This bug is to add direct tests for ZoneDataUpdater by porting all the data related tests from InMemoryClient's tests.

In addition to these tests, be sure to add a test that checks that ZoneDataUpdater::add() throws when a NULL ConstRRSetPtr is passed in the rrset arg. This test was removed in the memory client as it's not possible to get this condition there. But you can get this condition when directly using the ZoneDataUpdater::add() method.

Subtickets

Change History (4)

comment:1 Changed 7 years ago by muks

  • Description modified (diff)

comment:2 Changed 7 years ago by shane

  • Milestone New Tasks deleted

comment:3 Changed 6 years ago by tomek

  • Milestone set to Remaining BIND10 tickets

comment:4 Changed 5 years ago by tomek

  • Resolution set to wontfix
  • Status changed from new to closed
  • Version set to old-bind10

This issue is related to bind10 code that is no longer part of Kea.

If you are interested in BIND10/Bundy framework or its DNS components,
please check http://bundy-dns.de.

Closing ticket.

Note: See TracTickets for help on using tickets.