fix some tests

This commit is contained in:
2025-08-13 11:22:56 +03:00
parent 64e142b8c6
commit bf63365370
2 changed files with 4 additions and 4 deletions

View File

@@ -102,7 +102,7 @@ int getClientsPings(const PIVector<ClientSendThread *> & clients) {
TEST(ClientServer, ManyClients) {
auto const loop_timeout = 1000_ms;
auto const loop_timeout = 100_ms;
constexpr int clients_count = 20;
PIVector<ClientSendThread *> clients;
auto s = createServer<false, false, 100_KiB>();
@@ -147,7 +147,7 @@ TEST(ClientServer, ManyClients) {
}
TEST(ClientServer, DynamicClients) {
auto const loop_timeout = 1000_ms;
auto const loop_timeout = 100_ms;
constexpr int clients_count = 20;
PIVector<ClientSendThread *> clients;
PIMutex clients_mutex;