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 timeout in DebugProtocolTests #2029

Merged
merged 1 commit into from
Apr 4, 2023
Merged

Conversation

adpi2
Copy link
Member

@adpi2 adpi2 commented Apr 4, 2023

For some mysterious reason, traversing the src.zip of JDK Temurin 11.0.18 installed by actions/setup-java is very very slow. It takes up to 40 second, the first time, and then it takes about 500 ms. That's why the DebugProtocolSpec times out.

But if I install the exact same JDK with coursier/setup-action, the issue disappears. Similarly, if I manually download and extract the JDK, it fixes the issue. So it seems there is something wrong with actions/setup-java, about how it installs this JDK, but I don't know exactly what.

Switching to coursier/setup-action solves the issue.

@ckipp01
Copy link
Member

ckipp01 commented Apr 4, 2023

Switching to coursier/setup-action solves the issue.

It's been so long since I've seen a fully green CI, so if this truly fixes, I say let's go.

@adpi2 adpi2 marked this pull request as ready for review April 4, 2023 12:08
@adpi2 adpi2 requested review from ckipp01 and tgodzik April 4, 2023 12:08
@adpi2 adpi2 merged commit c288dc5 into scalacenter:main Apr 4, 2023
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.

None yet

3 participants