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

KTOR-7552 Rerun failed tests one more time #4386

Merged
merged 2 commits into from
Oct 16, 2024
Merged

Conversation

osipxd
Copy link
Member

@osipxd osipxd commented Oct 9, 2024

Subsystem
Test infrastructure

Motivation
KTOR-7552 Detect flaky tests

Solution
Enable testRetry feature of Develocity to rerun failed tests one time.
This feature works only for JVM tests, and flaky tests will be marked as "muted" in TC. However, we will be able to see flaky tests in Develocity reports.

See also: ktorio/ktor-build#98

@osipxd osipxd force-pushed the osipxd/rerun-failed-tests branch 2 times, most recently from 81f815f to 3a6a8d6 Compare October 9, 2024 15:22
@osipxd
Copy link
Member Author

osipxd commented Oct 9, 2024

Example of a flaky test rerun:
image

@osipxd osipxd marked this pull request as ready for review October 9, 2024 15:29
@osipxd osipxd requested a review from bjhham October 9, 2024 15:29
@osipxd osipxd force-pushed the osipxd/rerun-failed-tests branch from 3a6a8d6 to ae5ea5e Compare October 9, 2024 17:51
@osipxd osipxd removed the request for review from bjhham October 9, 2024 18:45
@osipxd osipxd marked this pull request as draft October 9, 2024 18:45
@osipxd
Copy link
Member Author

osipxd commented Oct 9, 2024

Blocked by gradle/test-retry-gradle-plugin#116 (KT-49155)

@osipxd osipxd force-pushed the osipxd/rerun-failed-tests branch from ae5ea5e to 891b76b Compare October 11, 2024 13:26
@osipxd osipxd force-pushed the osipxd/rerun-failed-tests branch from 891b76b to d1d79be Compare October 11, 2024 13:48
@osipxd osipxd self-assigned this Oct 11, 2024
@osipxd
Copy link
Member Author

osipxd commented Oct 11, 2024

Found a workaround for this bug

@osipxd osipxd marked this pull request as ready for review October 11, 2024 14:46
@osipxd osipxd requested a review from e5l October 14, 2024 11:35
@osipxd osipxd merged commit 2b4921a into main Oct 16, 2024
11 of 14 checks passed
@osipxd osipxd deleted the osipxd/rerun-failed-tests branch October 16, 2024 07:22
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