Since this or last week I am not able to run Groovy in Clash of Code anymore. It always runs into timeouts, even with just the default implementation. I don’t add anything.
This does not only happen when I click on “play” within the clash, but also after the submission of my code. Always 0% finished.
Running Python works perfectly fine for me.
I am guessing on a server problem in regards to Groovy. Is this known?
In the Spring 2021 competition, when testing, I often get time out. On submit, it seem to occurs even more (14 timeout on 15 play)
I guess it’s generalised.
We would like some help regarding Groovy, as we miss some expertise internally. We’re using https://mvnrepository.com/artifact/org.codehaus.groovy/groovy-all/3.0.8 for Groovy, which pulls every possible dependency. Would some of you know what’s the minimal list of jars we need for our use on CodinGame?
I think (at least) these are optional:
xml, testing, test-unit, test, swing, sql, servlet, jsr, jmx, docgenerator, ant
unless your groovy environment needs them, e.g. ant is a tool to compile and build, which is most likely not needed by your backend but only you are sure.
I met the same issue with Scala: tests are running incredibly slow. Maybe it’s JVM related problem. But unlike Groovy, Scala tests are at least passing on submit. I had really hard experience with Groovy, optimizing every single line on easy problems, just to make it pass 100%. And still, it sometimes takes 5-10 re-submits of the same code to get it done. And this is with CompileStatic option, as @Westicles suggested. Without it, they are just all red.
Hi to all !
I’d like to thanks @java_coffee_cup for his reply to @TwoSteps a few days ago (Groovy gets timeouts in every clash now - #11 by java_coffee_cup),
because with your help, and all the @CGTeam who worked around …
→ now both my tests in IDE and Validated submissions works in Groovy language !
Thanks to everyone involved in resolving the environment issues.
=> Have now too fun again with Groovy coding … Thanks !
Hi @demmatze, @dwarfie and maybe @Saarjuk : did you try again this weekend with Groovy submissions ?
→ As i said a few minutes ago : now Groovy works for me both in IDE and validators !
Isn’t it too for you ?