Skip to content

Commit edfc72d

Browse files
committed
integration-test: Update TCP keep alive interval config
With latest FreeRTOS TCP/IP stack, due to a timing issue, most of the MQTT tests fail on FVP, because of TCP keep alive timeout. Therefore, increase the TCP keep alive timeout `ipconfigTCP_KEEP_ALIVE_INTERVAL` from `20` to `300` seconds. Signed-off-by: Devaraj Ranganna <[email protected]>
1 parent 15fb2d2 commit edfc72d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

applications/freertos_iot_libraries_tests/configs/freertos_config/FreeRTOSIPConfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ extern void vLoggingPrintf( const char * pcFormatString,
301301

302302
/* Include support for TCP keep-alive messages. */
303303
#define ipconfigTCP_KEEP_ALIVE ( 1 )
304-
#define ipconfigTCP_KEEP_ALIVE_INTERVAL ( 20 ) /* in seconds */
304+
#define ipconfigTCP_KEEP_ALIVE_INTERVAL ( 300 ) /* in seconds */
305305

306306
/* Include all API's and code that is needed for the IPv4 protocol.
307307
* When defined as zero, the application should uses IPv6. */

0 commit comments

Comments
 (0)