Opened 6 years ago

Closed 3 years ago

#3205 closed enhancement (wontfix)

Unit-test improvement: need to use .spec defaults

Reported by: tomek Owned by: tomek
Priority: medium Milestone: Outstanding Tasks
Component: ~dhcpconf(obsolete) Version:
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: Low
Sub-Project: DHCP Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description (last modified by tomek)

See ticket:3191#comment:7 about the details.

Current DHCPv4/6 unit-tests that use config files use them as is. The bindctl interface on the other hand, matches them against .spec files first and applies any default values from .spec. We do not test for that. Some things may work in unit-tests, but with defaults applied they may fail.

Specific example: next-server with defined only global value was overridden on subnet scope by default value of


Change History (6)

comment:1 Changed 6 years ago by tomek

  • Description modified (diff)

comment:2 Changed 6 years ago by tomek

  • Type changed from defect to enhancement

comment:3 Changed 4 years ago by tomek

  • Milestone changed from DHCP Outstanding Tasks to Outstanding Tasks

Milestone renamed

comment:4 Changed 3 years ago by tomek

  • Description modified (diff)
  • Owner set to tomek
  • Status changed from new to assigned

comment:5 Changed 3 years ago by tomek

There's no bindctl anymore, so .spec files are not used. closing.

comment:6 Changed 3 years ago by tomek

  • Resolution set to wontfix
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.