1
0
mirror of synced 2025-12-17 04:02:14 +03:00

Fix Windows problem

This commit is contained in:
yhirose
2025-12-14 20:17:11 -05:00
parent b35c468cca
commit 54983f1dcb

View File

@@ -13845,7 +13845,12 @@ TEST_F(SSEIntegrationTest, MaxReconnectAttempts) {
// Should not have taken too long (max 2 attempts * 50ms + overhead)
auto duration =
std::chrono::duration_cast<std::chrono::milliseconds>(end - start);
#ifdef _WIN32
// Windows is much slower for socket connection failures
EXPECT_LT(duration.count(), 7000);
#else
EXPECT_LT(duration.count(), 1000);
#endif
}
// Test: Multi-line data in integration