simon.vergauwen
07/06/2021, 5:59 PMuseConfigDirectory
pointing here: https://github.com/arrow-kt/arrow/blob/main/arrow-libs/karma/chrome_bin.js
https://github.com/arrow-kt/arrow/blob/sv-js-fx-coroutines/arrow-libs/fx/arrow-fx-stm/build.gradle#L20
Disconnected (0 times) , because no message in 30000 ms.
java.lang.IllegalStateException: command '/Users/runner/.gradle/nodejs/node-v14.15.4-darwin-x64/bin/node' exited with errors (exit code: 1
turansky
07/06/2021, 6:23 PMIlya Goncharov [JB]
07/07/2021, 12:16 PMsimon.vergauwen
07/07/2021, 12:43 PM./gradlew (--no-build-cache --no-daemon) clean build
.
We've also seen that the Arrow Core test suite is still flaky on CI: https://kotlinlang.slack.com/archives/C8UK6RTHU/p1625602863012400?thread_ts=1625476179.010300&cid=C8UK6RTHU
More info here:
https://kotlinlang.slack.com/archives/CT0G9SD7Z/p1625571349252600Ilya Goncharov [JB]
07/07/2021, 1:35 PMfx
is separate Gradle root project. So when you set config directory through project.rootDir
, it uses fx
directory, not arrow-libs
But if this problems is fixed, I get all tests green in Fx PR branch.
I can add some advices, if you are sure, that everything can be fine, and only problems is tiemouts.
Karma has 2 properties, which can disable timeout (but of course it will help, only if problem is that everything really works, but spend more time than timeout)
• browserNoActivityTimeout
• pingTimeout
We use it for example in debug case.simon.vergauwen
07/07/2021, 1:39 PMpingTimeout
, so I will look at the suggested params. I'm actually trying to rely on the timeout functionality of Kotest, such that Arrow can ignore the karma timeouts, or is that an incorrect assumption?Ilya Goncharov [JB]
07/07/2021, 1:44 PMsimon.vergauwen
07/07/2021, 1:56 PMI am not sure, how kotest’s timeouts worksTL;DR it installs
kotlinx.coroutines.withTimeout
around the user's testssimon.vergauwen
07/08/2021, 3:59 PM