Hello, anyone here with Windows who can try to rep...
# arrow-contributors
l
Hello, anyone here with Windows who can try to reproduce this error? Unit test fails in NetworkEitherCallAdapterTest.kt:159 because of wrong exception type.
Test passes if the expected exception type is changed from
ConnectException
to its parent class,
SocketException
.
s
We're running these tests on a Windows machine on Github Actions afaik 🤔
l
Interesting
Maybe then the specific VM is atypical
JVM: 11.0.14.1 (Eclipse Adoptium 11.0.14.1+1)
@simon.vergauwen, how can I run the tests under another JVM in IntelliJ?
I downloaded the Temurin OpenJDK (Adoptium) and set the JAVA_HOME variable
But I'm not sure what IntelliJ's built in test runner uses and how to configure it.
s
Awesome that you're looking into this @Lukasz Kalnik 🙏
l
Thank you. No problem, happy to help. This is my original PR after all 😉
For some reason when I try to build the
arrow-core
project it now hangs for me in the Gradle configuration phase.
Doesn't matter which JDK I use.
But as you saw I created the PR, I think it's a safe bet and should fix the issue the original poster has.
s
The branch passing on CI hangs for you locally in Gradle? 😮 Must be some local cache issue 😕
Maybe by switching JDKs you ended up with some incorrect cache in Gradle
l
Maybe, thanks for the hint.
I'm on vacation now so might not react for the next two weeks ;)
s
Enjoy your well PTO! 😉
l
Thank you!