Skip to content

HDDS-6647. Tag some known flaky tests#3349

Merged
adoroszlai merged 1 commit intoapache:masterfrom
kaijchen:HDDS-6647
Apr 26, 2022
Merged

HDDS-6647. Tag some known flaky tests#3349
adoroszlai merged 1 commit intoapache:masterfrom
kaijchen:HDDS-6647

Conversation

@kaijchen
Copy link
Member

What changes were proposed in this pull request?

Added flaky tag to some tests.

  1. HDDS-6335. TestParentAcl#testKeyAcl
    https://github.com/apache/ozone/runs/6168965490?check_suite_focus=true#step:5:1859

  2. HDDS-5819, HDDS-6451. TestRootedOzoneFileSystem#testRenameToTrashEnabled
    https://github.com/kaijchen/ozone/runs/6151453278?check_suite_focus=true#step:4:3038

  3. HDDS-6477, HDDS-6642. TestOzoneManagerHAMetadataOnly#testListVolumes:
    https://github.com/kaijchen/ozone/runs/6150362670?check_suite_focus=true#step:4:3142

  4. HDDS-6644. TestOzoneManagerHAMetadataOnly#testReadRequest:
    https://github.com/kaijchen/ozone/runs/6150362734?check_suite_focus=true#step:4:3558

  5. HDDS-6645. TestOzoneFileSystem#testTrash
    https://github.com/kaijchen/ozone/runs/6150521370?check_suite_focus=true#step:4:2934

  6. HDDS-6646. TestOzoneFileSystem#testRenameToTrashEnabled
    https://github.com/kaijchen/ozone/runs/6150521445?check_suite_focus=true#step:4:3454

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-6647

How was this patch tested?

CI

Copy link
Contributor

@adoroszlai adoroszlai left a comment

Choose a reason for hiding this comment

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

Thanks @kaijchen for adding these tags.

I think the title "Tag some known flaky tests" would better reflect the change. "Address" may imply fixing the tests.

* since fs.rename(src,dst,options) is enabled.
*/
@Test
@Flaky("HDDS-6646")
Copy link
Contributor

Choose a reason for hiding this comment

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

@Flaky requires JUnit5-based tests. TestOzoneFileSystem and its siblings are still on JUnit4, because they are heavily parameterized and need a significant refactoring (see HDDS-6152).

We can add these tags, but expect the tests to be included in the non-flaky runs and not repeated in case of failure.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks for explaining.

@kaijchen kaijchen changed the title HDDS-6647. Address some flaky tests HDDS-6647. Tag some known flaky tests Apr 26, 2022
@adoroszlai adoroszlai merged commit 9d771eb into apache:master Apr 26, 2022
@kaijchen kaijchen deleted the HDDS-6647 branch April 26, 2022 16:03
tanvipenumudy pushed a commit to tanvipenumudy/ozone that referenced this pull request May 12, 2022
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