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

Suppressed tests are not excluded for smart shardinig #984

Closed
kozaxinan opened this issue Aug 12, 2020 · 0 comments · Fixed by #990
Closed

Suppressed tests are not excluded for smart shardinig #984

kozaxinan opened this issue Aug 12, 2020 · 0 comments · Fixed by #990
Assignees

Comments

@kozaxinan
Copy link
Contributor

Describe the bug

A clear and concise description of what the bug is.

androidx.test.filters.Suppress is an annotation from AndroidX library. Currently suppressed tests puts in a shard, and because it is suppressed, shard ends up with no test and looks like fail.

To Reproduce

Steps to reproduce the behavior:

  1. Run have and Suppress annotated test with smart sharding.
  2. See empty shard

Expected behavior

A clear and concise description of what you expected to happen.

Suppressed test can go into already existed shards
or
have similar handling like ignore annotation.

Details (please complete the following information):

Have you tested on the latest Flank snapshot?

Post the output of flank --version.

Flank 20.08.1
no orchestrator
4 additional apks
no video or performance

@kozaxinan kozaxinan added the Bug label Aug 12, 2020
@piotradamczyk5 piotradamczyk5 self-assigned this Aug 12, 2020
piotradamczyk5 pushed a commit that referenced this issue Aug 12, 2020
piotradamczyk5 pushed a commit that referenced this issue Aug 13, 2020
piotradamczyk5 added a commit that referenced this issue Aug 13, 2020
* #984 Added @Suppress test as ignored

* Update release notes

* Fix tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants