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

GD-220: Add support for flaky test handling and retrying their execution #558

Merged
merged 15 commits into from
Sep 9, 2024

Conversation

MikeSchulze
Copy link
Owner

@MikeSchulze MikeSchulze commented Aug 23, 2024

Why

We want to rerun failed test by a configured retry count, because of possible random failing tests (flaky)

What

introduced new settings

  • flaky_check_enable "Rerun tests on failure and mark them as FLAKY"
  • flaky_max_retries "Sets the number of retries for rerunning a flaky test"
    rework on execution context to introduce test retry behavior

Added flaky status and navigation to the inspector
image

Added flaky state visualization to the console
image

Bug fixes

  • fixes fuzzer inner class injection, there was an issue with using the right object type

added new flaky state to test execution statistics
visualize flaky state in the inspector and console

@MikeSchulze MikeSchulze self-assigned this Aug 23, 2024
@MikeSchulze MikeSchulze added the enhancement New feature or request label Aug 23, 2024
@MikeSchulze MikeSchulze added this to the v4.4.0 milestone Aug 23, 2024
@MikeSchulze MikeSchulze linked an issue Aug 23, 2024 that may be closed by this pull request
@MikeSchulze MikeSchulze force-pushed the GD-220 branch 3 times, most recently from 2c63f6e to 6cbd756 Compare August 25, 2024 14:49
# Why
We want to rerun failed test by a configured retry count, because of possible random failing tests (flaky)

# What
introduced new settings
- `flaky_check_enable` "Rerun tests on failure and mark them as FLAKY"
- `flaky_max_retries`  "Sets the number of retries for rerunning a flaky test"
added new flaky state to test execution statistics
visualize flaky state in the inspector and console
@MikeSchulze MikeSchulze force-pushed the GD-220 branch 2 times, most recently from ec1763e to 4fae803 Compare August 31, 2024 08:47
@MikeSchulze MikeSchulze force-pushed the GD-220 branch 5 times, most recently from f34cd1f to 20da3e5 Compare September 6, 2024 12:30
@MikeSchulze MikeSchulze merged commit 879db6b into master Sep 9, 2024
@MikeSchulze MikeSchulze deleted the GD-220 branch September 9, 2024 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GD-220: Add flaky test handling
1 participant