zephyr/tests/net/dhcpv4/server/prj.conf
Robert Lubos 3ea05cc958 tests: net: dhcpv4_server: Add tests for declined address expiry/reuse
Verify that declined addresses are not permanently blocked - i. e.
expire after configured timeout and in case of free address shortage,
can be reused.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2024-02-26 11:41:35 +00:00

21 lines
498 B
Plaintext

CONFIG_NET_TEST=y
CONFIG_ZTEST=y
CONFIG_ENTROPY_GENERATOR=y
CONFIG_TEST_RANDOM_GENERATOR=y
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
CONFIG_NETWORKING=y
CONFIG_NET_L2_DUMMY=y
CONFIG_NET_IPV4=y
CONFIG_NET_IPV6=n
CONFIG_NET_UDP=y
CONFIG_NET_DHCPV4_SERVER=y
# Reduce probe/decline timeout to speed up tests
CONFIG_NET_DHCPV4_SERVER_ICMP_PROBE_TIMEOUT=10
CONFIG_NET_DHCPV4_SERVER_ADDR_DECLINE_TIME=1
# We need to set POSIX_API and use picolibc for eventfd to work
CONFIG_POSIX_API=y
CONFIG_PICOLIBC=y