-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Fix broken Gradle Spock's integration (skips Groovy tests) #19742
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
Conversation
|
❌ Gradle check result for 4a12e59: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for d987001: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for 282a567: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for 9827f6b: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for b3d25cc: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for 91fb31b: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for 9a45878: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for dd58c9a: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for bc8913d: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for 46802b5: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for 268a871: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
|
❌ Gradle check result for 806231c: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Andriy Redko <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #19742 +/- ##
============================================
+ Coverage 73.09% 73.18% +0.09%
Complexity 70954 70954
============================================
Files 5737 5737
Lines 324760 324760
Branches 46980 46980
============================================
+ Hits 237386 237684 +298
+ Misses 68220 67887 -333
- Partials 19154 19189 +35 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
buildSrc/src/integTest/groovy/org/opensearch/gradle/DistributionDownloadPluginFuncTest.groovy
Show resolved
Hide resolved
buildSrc/src/integTest/groovy/org/opensearch/gradle/JdkDownloadPluginFuncTest.groovy
Outdated
Show resolved
Hide resolved
|
Thank you @reta! Sounds like we should find a way to get notified when tests stop running. In some instances the tests may be muted or deleted (expected) and that's ok, but in other instances when they stop running then we need to determine the reason why. |
Signed-off-by: Andriy Redko <[email protected]>
Thanks @cwperks , the only reliable way I know about is to track number of tests overtime - usually the progression is always increasing so it is somewhat easy to spot such issues when number of running tests goes down. To provide the concrete example, we should have around 38,786 tests at the moment:
This number should not be trending down upon major Gradle / frameworks updates. |
* Fix broken Gradle Spock's integration (skips Groovy tests) Signed-off-by: Andriy Redko <[email protected]> * Address code review comments Signed-off-by: Andriy Redko <[email protected]> --------- Signed-off-by: Andriy Redko <[email protected]> (cherry picked from commit 753c135) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Fix broken Gradle Spock's integration (skips Groovy tests) Signed-off-by: Andriy Redko <[email protected]> * Address code review comments Signed-off-by: Andriy Redko <[email protected]> --------- Signed-off-by: Andriy Redko <[email protected]> (cherry picked from commit 753c135) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Fix broken Gradle Spock's integration (skips Groovy tests) Signed-off-by: Andriy Redko <[email protected]> * Address code review comments Signed-off-by: Andriy Redko <[email protected]> --------- Signed-off-by: Andriy Redko <[email protected]> (cherry picked from commit 753c135) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: Andriy Redko <[email protected]>
* Fix broken Gradle Spock's integration (skips Groovy tests) Signed-off-by: Andriy Redko <[email protected]> * Address code review comments Signed-off-by: Andriy Redko <[email protected]> --------- Signed-off-by: Andriy Redko <[email protected]> (cherry picked from commit 753c135) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: Andriy Redko <[email protected]>
* Fix broken Gradle Spock's integration (skips Groovy tests) Signed-off-by: Andriy Redko <[email protected]> * Address code review comments Signed-off-by: Andriy Redko <[email protected]> --------- Signed-off-by: Andriy Redko <[email protected]> (cherry picked from commit 753c135) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: Andriy Redko <[email protected]>
…19772) * Fix broken Gradle Spock's integration (skips Groovy tests) * Address code review comments --------- (cherry picked from commit 753c135) Signed-off-by: Andriy Redko <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…19771) * Fix broken Gradle Spock's integration (skips Groovy tests) * Address code review comments --------- (cherry picked from commit 753c135) Signed-off-by: Andriy Redko <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…h-project#19742) * Fix broken Gradle Spock's integration (skips Groovy tests) Signed-off-by: Andriy Redko <[email protected]> * Address code review comments Signed-off-by: Andriy Redko <[email protected]> --------- Signed-off-by: Andriy Redko <[email protected]>

Description
Fix broken Gradle Spock's integration (skips Groovy tests). We didn't run these test suites for quite some time sadly due to Spock 2.0 changes with Junit 4 support.
Related Issues
Reported by @mishail over Slack
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.