Files
esp-lwip/test/apps/socket_linger_stress_test.py
T
David Cermak f49974d881 ci: Add simple CI test
with relaxed criteria on the lingering test, as the fix is not added yet
2024-09-10 14:53:04 +02: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()