2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-11-20 01:12:18 +00:00
Files
xcat-core/xCAT-test/autotest/testcase
Daniel Hilst 47efd8bd34 test(xcat-core): the dual-stack DHCPv6 case measured nothing
makedhcp_dhcpv6_dual_stack_boot_server defined its network and went straight to
makedhcp <node>. A reservation only reaches a subnet that kea-dhcp6.conf already carries, so
makedhcp skipped the node with "Unable to find a Kea DHCPv6 subnet", exited 0, and the case
asserted an empty bootfile-url against the expected one. The run reported the case as failing
for the wrong reason, and an assertion on the exit status alone would have passed.

The case now runs makedhcp -n after makehosts, as makedhcp_dhcpv6_boot_intent does, and asserts
two things the earlier version could not tell apart: that the subnet is in the configuration, and
that the node has exactly one reservation. A skip now fails on the reservation count rather than
on the URL.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-10-27 06:29:12 -03:00
..
2018-07-02 05:27:01 -04:00
2018-04-18 16:48:28 +08:00
2018-11-05 01:19:21 -05:00
2019-03-27 04:23:39 -04:00
2024-07-16 12:42:39 +02:00
2018-11-05 03:24:53 -05:00
2018-11-28 01:51:26 -05:00
2023-01-10 10:21:40 -05:00
2018-11-05 01:19:21 -05:00
2019-04-03 02:16:17 -04:00
2018-11-15 02:44:58 -05:00