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

CI: Timeouts on Windows Runner #16404

Closed
david-allison opened this issue May 15, 2024 · 1 comment · Fixed by #16431
Closed

CI: Timeouts on Windows Runner #16404

david-allison opened this issue May 15, 2024 · 1 comment · Fixed by #16431
Labels
Dev Development, testing & CI Priority-High
Milestone

Comments

@david-allison
Copy link
Member

david-allison commented May 15, 2024

This has been going on for a while. Placeholder issue to collect diagnostics

@david-allison david-allison added Priority-High Dev Development, testing & CI labels May 15, 2024
@david-allison
Copy link
Member Author

david-allison commented May 19, 2024

This patch makes finding timeouts a little easier. My concern is that this is going to be random

  • TagsDialogTest > test_CheckTags_intermediateTagsShouldToggleDynamically
  • TagsDialogTest > test_SearchTag_spaceWillBeFilteredCorrectly
  • TagsDialogTest > test_AddNewTag_shouldBeVisibleInRecyclerView_andSortedCorrectly
  • TagsDialogTest > test_SearchTag_showAllRelevantTags
Index: build.gradle
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/build.gradle b/build.gradle
--- a/build.gradle	(revision 7853f54d4bd1d3144b4922defbf98570fe578847)
+++ b/build.gradle	(revision 35e7f8fc0aa0d707c0908e3c47e86a9dc9c84320)
@@ -43,10 +43,10 @@
             project.android.testOptions.unitTests.all {
                 // tell backend to avoid rollover time, and disable interval fuzzing
                 environment "ANKI_TEST_MODE", "1"
-
                 useJUnitPlatform()
                 testLogging {
-                    events "failed", "skipped"
+                    // logging "started" helps us catch timeouts
+                    events "started", "passed", "failed", "skipped"
                     showStackTraces = true
                     exceptionFormat = "full"
                 }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dev Development, testing & CI Priority-High
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant