Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a unit test for the mobile fetch client #28903

Merged
merged 3 commits into from
Aug 9, 2023

Conversation

RyanTheOptimist
Copy link
Contributor

Add a unit test for the mobile fetch client

Risk Level: None
Testing: New test
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

Signed-off-by: Ryan Hamilton <rch@google.com>
Signed-off-by: Ryan Hamilton <rch@google.com>
// to do so.
TEST(FetchClientTest, Foo) {
Envoy::Fetch client;
client.fetch({"https://wwwfff.google.com/"});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just curious, is there a reason for the "fff"?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

facepalm It was supposed to be www, but I decided to test what would happen if the client could not reach the server (in this 'cause because DNS failed). And then I forgot to switch it back. Fixed. Thanks!

Signed-off-by: Ryan Hamilton <rch@google.com>
@abeyad abeyad self-assigned this Aug 8, 2023
@yanavlasov yanavlasov merged commit cedee64 into envoyproxy:main Aug 9, 2023
94 checks passed
phlax pushed a commit to phlax/envoy that referenced this pull request Aug 9, 2023
* Add a unit test for the mobile fetch client

Signed-off-by: Ryan Hamilton <rch@google.com>

Signed-off-by: Ryan Northey <ryan@synca.io>
jbohanon pushed a commit to solo-io/envoy-fork that referenced this pull request Aug 11, 2023
* Add a unit test for the mobile fetch client

Signed-off-by: Ryan Hamilton <rch@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants