Skip to content

Commit f8a26fa

Browse files
author
Lluis Campos
authored
Merge pull request #1827 from lluiscampos/QA-1223-longer-timeouts-http
QA-1223: Add longer timeouts for HTTP tests reaching external services
2 parents 31e6b2b + 69b5b33 commit f8a26fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/src/common/http_test.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1646,7 +1646,7 @@ TEST(HttpTest, SerialRequestsWithSameObjectAfterCancel) {
16461646
}
16471647

16481648
TEST(HttpTest, DestroyClientBeforeRequestComplete) {
1649-
TestEventLoop loop;
1649+
TestEventLoop loop(chrono::seconds(30));
16501650

16511651
bool client_hit_header = false;
16521652
bool client_hit_body = false;
@@ -2200,7 +2200,7 @@ TEST(HttpsTest, NoCertificateError) {
22002200
}
22012201

22022202
TEST(HttpsTest, CorrectDefaultCertificateStoreVerification) {
2203-
TestEventLoop loop;
2203+
TestEventLoop loop(chrono::seconds(30));
22042204

22052205
bool client_hit_header {false};
22062206
bool client_hit_body {false};
@@ -2527,7 +2527,7 @@ TEST(HttpsTest, MtlsSuccess) {
25272527
}
25282528

25292529
TEST(HttpsTest, CertsAndKeysLoadFailures) {
2530-
TestEventLoop loop;
2530+
TestEventLoop loop(chrono::seconds(30));
25312531

25322532
auto handler = [](http::ExpectedIncomingResponsePtr exp_resp) {
25332533
ASSERT_TRUE(false) << "Should never get here";

0 commit comments

Comments
 (0)