http_ext: Replace request to httpbin with mock#1985
Merged
reubenmiller merged 1 commit intothin-edge:mainfrom May 17, 2023
Merged
http_ext: Replace request to httpbin with mock#1985reubenmiller merged 1 commit intothin-edge:mainfrom
reubenmiller merged 1 commit intothin-edge:mainfrom
Conversation
Contributor
didier-wenzek
left a comment
There was a problem hiding this comment.
The mock is unfortunately HTTP only, so if the intent was to test HTTPS as well, then this PR removes it.
Yes, the point was to test HTTPS connection. But it's okay to removed it as this test is indeed flaky due to its dependency to an external resource.
So okay to merge this PR, once fix the dependency.
The request to httpbin service was failing with a 504 for me, so I replaced it with a mock. Signed-off-by: Marcel Guzik <marcel.guzik@inetum.com>
Contributor
Robot Results
Passed Tests
|
Contributor
|
Merging as this issue was blocking the release pipeline. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes
The request to httpbin service was failing with a 504 for me, so I replaced it with a mock.
The mock is unfortunately HTTP only, so if the intent was to test HTTPS as well, then this PR removes it.
Types of changes
Paste Link to the issue
Checklist
cargo fmtas mentioned in CODING_GUIDELINEScargo clippyas mentioned in CODING_GUIDELINESFurther comments