Skip to content

Commit 7aef84c

Browse files
rlubosmmahadevan108
authored andcommitted
tests: net: sockets: tls: Increase connect timeout
Since fc007ee TLS sockets support timeout based on CONFIG_NET_SOCKETS_CONNECT_TIMEOUT value. The TLS test suite reduced this config value to speed up the tests, however it turns out the 100ms timeout is too low to finalize the handshake on slower platforms (nrf52840 specifically). Therefore increase the timeout value to 200ms to prevent test failures on those. Signed-off-by: Robert Lubos <[email protected]>
1 parent d749750 commit 7aef84c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/net/socket/tls/prj.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ CONFIG_ZVFS_OPEN_MAX=20
2323

2424
# Keep timings short for the test
2525
CONFIG_NET_TCP_TIME_WAIT_DELAY=10
26-
CONFIG_NET_SOCKETS_CONNECT_TIMEOUT=100
26+
CONFIG_NET_SOCKETS_CONNECT_TIMEOUT=200
2727

2828
# Network driver config
2929
CONFIG_NET_DRIVERS=y

0 commit comments

Comments
 (0)