Skip to content

Commit 2f409f4

Browse files
rlubosjukkar
authored andcommitted
tests: net: socket: tls: Fix timing issue on nRF devices
The timings were too tight for TLS tests executing on nRF52840 with hardware entropy source enabled. Increase the timings to make tests pass. Signed-off-by: Robert Lubos <[email protected]>
1 parent dce85eb commit 2f409f4

File tree

1 file changed

+2
-2
lines changed
  • tests/net/socket/tls/src

1 file changed

+2
-2
lines changed

tests/net/socket/tls/src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ void test_v4_msg_waitall(void)
227227
uint8_t rx_buf[sizeof(TEST_STR_SMALL) - 1] = { 0 };
228228
struct timeval timeo_optval = {
229229
.tv_sec = 0,
230-
.tv_usec = 100000,
230+
.tv_usec = 200000,
231231
};
232232

233233
prepare_sock_tls_v4(CONFIG_NET_CONFIG_MY_IPV4_ADDR, ANY_PORT,
@@ -305,7 +305,7 @@ void test_v6_msg_waitall(void)
305305
uint8_t rx_buf[sizeof(TEST_STR_SMALL) - 1] = { 0 };
306306
struct timeval timeo_optval = {
307307
.tv_sec = 0,
308-
.tv_usec = 100000,
308+
.tv_usec = 200000,
309309
};
310310

311311
prepare_sock_tls_v6(CONFIG_NET_CONFIG_MY_IPV6_ADDR, ANY_PORT,

0 commit comments

Comments
 (0)