Files
esp-lwip/test/apps/socket_linger_stress_test.py
David Cermak 10197b212a api_msg: fix tcp_abort thread safety
As this tcp_abort could be directly called by application thread without
locking the TCP/TP core.

This commit also reworks and fixes CI:
1) Unit tests build with format-f warnings with GCC-11
2) Reworked to use common shell scripts from both GitLab and GitHub CI
2023-01-09 07:32:37 +01:00

12 lines
350 B
Python

try:
import sys
from junit_xml import TestSuite as ts, TestCase as tc
t=tc("lingering close stress test")
if len(sys.argv) > 1 and sys.argv[1] == "failed":
t.add_failure_info("test got stuck when closing clients socket")
print(ts.to_xml_string([ts("SOCKET SO_LINGER stress test", [t])]))
except ImportError:
print()