[CDRIVER-4538] /http test fails with timeout when connecting to example.com Created: 13/Dec/22  Updated: 28/Oct/23  Resolved: 13/Dec/22

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.24.0

Type: Bug Priority: Unknown
Reporter: Ezra Chung Assignee: Ezra Chung
Resolution: Fixed Votes: 0
Labels: failing-on-waterfall
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to CDRIVER-4134 /http test failing with "No response ... Closed

 Description   

Observed in this patch, e.g.:

FAIL
Assert Failure: 0 == 200
/data/mci/9df3d8d043461871f4b749b1e83f2440/mongoc/src/libmongoc/tests/test-mongoc-http.c:56  test_mongoc_http()
Aborted

Try using httpbin.org instead and split /http test into separate get and post subtests for better test granularity.



 Comments   
Comment by Githook User [ 13/Jan/23 ]

Author:

{'name': 'Ezra Chung', 'email': '88335979+eramongodb@users.noreply.github.com', 'username': 'eramongodb'}

Message: CDRIVER-4538 Automatically retry on 502 Bad Gateway in /http tests (#1179)
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/da25cca1844eacb27858c63bb8ad2a5aaa3917b7

Comment by Githook User [ 13/Dec/22 ]

Author:

{'name': 'Ezra Chung', 'email': '88335979+eramongodb@users.noreply.github.com', 'username': 'eramongodb'}

Message: Use httpbin.org instead of example.com for /http tests (#1161)

  • CDRIVER-4537 Ensure stdout and stderr are flushed prior to abort
Generated at Wed Feb 07 21:21:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.