Skip to content

Commit a5191e3

Browse files
committed
Increase timeout for data event reception in HttpStream test to 30 seconds for macOS CI compatibility
1 parent c44342d commit a5191e3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/http_tests.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -555,9 +555,9 @@ TEST_F(HttpTest, HttpStream_BasicConnection) {
555555
EXPECT_TRUE(wait_for_condition([&]() { return connected.load(); },
556556
std::chrono::seconds(10)));
557557

558-
// Wait for at least one data event
558+
// Wait for at least one data event (30s: macOS CI runners are slower to receive the first SSE chunk)
559559
EXPECT_TRUE(wait_for_condition([&]() { return data_received_count.load() > 0; },
560-
std::chrono::seconds(10)));
560+
std::chrono::seconds(30)));
561561

562562
// Close the stream
563563
stream->close();

0 commit comments

Comments
 (0)