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

mobile: Mark AndroidEngineExplicitFlowTest as flaky #36426

Merged
merged 2 commits into from
Oct 2, 2024

Conversation

fredyw
Copy link
Member

@fredyw fredyw commented Oct 2, 2024

The AndroidEngineExplicitFlowTest.post_multipleRequests_randomBehavior seems to be the one that's causing the flakiness. Adding flaky = True and fixing the HTTP method to POST as what the test is intended seemed to reduce the flakiness.

Risk Level: low (test only)
Testing: bazel test --runs_per_test=100 //test/java/integration:android_engine_explicit_flow_test
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

Signed-off-by: Fredy Wijaya <fredyw@google.com>
Copy link

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #36426 was opened by fredyw.

see: more, trace.

@fredyw fredyw marked this pull request as ready for review October 2, 2024 19:00
@fredyw fredyw enabled auto-merge (squash) October 2, 2024 19:32
@@ -481,7 +481,7 @@ public void post_multipleRequests_randomBehavior() throws Exception {
mockWebServer.enqueue(new MockResponse().setBody("hello, world"));
RequestScenario requestScenario =
new RequestScenario()
.setHttpMethod(RequestMethod.GET)
.setHttpMethod(RequestMethod.POST)
Copy link
Contributor

Choose a reason for hiding this comment

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

why changing to a POST? and should the url used on the line below be changed too?

Copy link
Member Author

Choose a reason for hiding this comment

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

Because the test name is post_ and there's already the one that tests GET in

public void get_multipleRequests_randomBehavior() throws Exception {

I checked all the other tests and they all are correct, except this.

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh you mean the path. Done, I updated the path to post/, but I don't think it matters.

Signed-off-by: Fredy Wijaya <fredyw@google.com>
@fredyw fredyw merged commit dc35c85 into envoyproxy:main Oct 2, 2024
20 checks passed
@fredyw fredyw deleted the explicit_flow_flaky branch October 2, 2024 21:53
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.

2 participants