Skip to content

Commit

Permalink
[#3469] Added missing preferred checks
Browse files Browse the repository at this point in the history
  • Loading branch information
fxdupont authored and tmarkwalder committed Jul 23, 2024
1 parent 0c81dc7 commit 5c8d25c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/dhcpsrv/testutils/generic_cb_dhcp6_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4380,6 +4380,9 @@ GenericConfigBackendDHCPv6Test::getClientClass6Test() {
EXPECT_EQ(30, client_class->getValid().getMin());
EXPECT_EQ(60, client_class->getValid().get());
EXPECT_EQ(90, client_class->getValid().getMax());
EXPECT_EQ(25, client_class->getPreferred().getMin());
EXPECT_EQ(55, client_class->getPreferred().get());
EXPECT_EQ(85, client_class->getPreferred().getMax());

// Validate options belonging to this class.
ASSERT_TRUE(client_class->getCfgOption());
Expand Down

0 comments on commit 5c8d25c

Please sign in to comment.