polserver/testsuite/pol/testpkgs/slowreader/setup.src
Fernando Rozenblit cd822e7cc2
Nonblocking send for aux and web (#911)
* make aux nonblocking

* fix webserver stall if client stops reading

* add StallBudget and make web sockets also non-blocking

* set small buffer size before accepting

* increase payload to force send waits
2026-07-27 19:19:51 +02:00

13 lines
414 B
Text

// The slow-reader test needs testsuite/deafclient/deafclient.py running alongside the
// shard, which cmake/core_tests_start.cmake only starts when python3 was found.
use os;
include "testutil";
program setup()
var have_helper := GetEnvironmentVariable( "POLCORE_TESTSLOWREADER" ) == "TRUE";
if ( !have_helper )
syslog( "NO SLOW READER TESTS", 0 );
return IGNORE_TEST;
endif
return 1;
endprogram