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

chore: test ci for flaky tests #5004

Closed
wants to merge 24 commits into from
Closed

chore: test ci for flaky tests #5004

wants to merge 24 commits into from

Conversation

edalex-yinzi
Copy link
Contributor

Checklist
Description of change

@edalex-yinzi
Copy link
Contributor Author

OK looks good.

@edalex-yinzi
Copy link
Contributor Author

1

@edalex-yinzi
Copy link
Contributor Author

2

@edalex-yinzi
Copy link
Contributor Author

3

@edalex-yinzi
Copy link
Contributor Author

Maybe the issue is the test will be affected by other tests; I will bring another test back.

@edalex-yinzi
Copy link
Contributor Author

1

@edalex-yinzi
Copy link
Contributor Author

2

@edalex-yinzi
Copy link
Contributor Author

It looks like FavouritesPowerSearchIntegration has been fixed.

@edalex-yinzi
Copy link
Contributor Author

1

@edalex-yinzi
Copy link
Contributor Author

Interesting, so after I added the screenshot, the portal test became stable.

@edalex-ian
Copy link
Member

Interesting, so after I added the screenshot, the portal test became stable.

Makes sense, as these flaky issues seem to all be timing based. So add something in that significantly alters duration (screenshots) and then you change the timing environment.

@edalex-yinzi
Copy link
Contributor Author

😭

@edalex-yinzi
Copy link
Contributor Author

Adding screenshots really stabilized the tests a lot... I think I should add explicit waits to fix the tests.

@edalex-ian
Copy link
Member

edalex-ian commented Feb 29, 2024

Adding screenshots really stabilized the tests a lot... I think I should add explicit waits to fix the tests.

Although an easy way to fix this kind of issue, it's an approach that is considered a big NO! It's just a temporary fix at best, at worst it can add more unknowns - as it signals a thread switch.

@edalex-yinzi
Copy link
Contributor Author

edalex-yinzi commented Mar 3, 2024

Okay at least those timneout issues have been solved. Now we only have java.lang.AssertionError: expected [true] but found [false] .

@edalex-ian
Copy link
Member

So this is superseded by #5023 ?

@edalex-yinzi
Copy link
Contributor Author

So this is superseded by #5023 ?

Yes. Closed.

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