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

Fix flaky Windows CI #594

Merged
merged 1 commit into from
Mar 1, 2024
Merged

Fix flaky Windows CI #594

merged 1 commit into from
Mar 1, 2024

Conversation

jansorg
Copy link
Collaborator

@jansorg jansorg commented Feb 28, 2024

This fixes our flaky tests on the Windows runner of GitHub Actions.
The problem was an incorrect shutdown or the AppLand processes launched by tests. The first shutdown attempt cleared the processes and only waited for 1.0s, which isn't enough for slow Windows CI. The next shutdown attempts only got the empty list of processes and stopped early.

This PR updates the shutdown timeout to 10s and passes it into the service implementation handling the shutdown instead of attempting to be clever with several (incorrect) attempts.

Copy link

github-actions bot commented Feb 28, 2024

AppMap runtime code review

Summary Status
Failed tests ✅ All tests passed
API changes 0️⃣ No API changes
Security flaws ✅ None detected
Performance problems ✅ None detected
Code anti-patterns ✅ None detected
New AppMaps ⭐ 2 new junit tests

⭐ New AppMaps

[junit] Language resolver java project from plugin-core/src/test/java/appland/installGuide/analyzer/LanguageResolverTest.java:22

[junit] Runtime analysis model authenticated without findings from plugin-core/src/test/java/appland/toolwindow/runtimeAnalysis/RuntimeAnalysisModelTest.java:39

@jansorg jansorg force-pushed the jansorg/windows-ci-fix branch from e6b40a2 to b0bc642 Compare February 28, 2024 09:52
@jansorg jansorg marked this pull request as ready for review February 28, 2024 09:55
@jansorg jansorg requested a review from dustinbyrne February 28, 2024 09:56
@ahtrotta ahtrotta merged commit ab556b1 into develop Mar 1, 2024
6 checks passed
@ahtrotta ahtrotta deleted the jansorg/windows-ci-fix branch March 1, 2024 20:28
@appland-release
Copy link
Contributor

🎉 This PR is included in version 0.59.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants