I am trying to upgrade Karate from version 0.9.6 to 1.0.0 and started to have some issues with the new JS engine.
01: karate.callSingle('classpath:commons/product/CreateProductTestDataForCurrentTenant.feature')
<<<<
org.graalvm.polyglot.PolyglotException: Multi threaded access requested by thread Thread[pool-1-thread-4,5,main] but is not allowed for language(s) js.
- com.oracle.truffle.polyglot.PolyglotEngineException.illegalState(PolyglotEngineException.java:132)
- com.oracle.truffle.polyglot.PolyglotContextImpl.throwDeniedThreadAccess(PolyglotContextImpl.java:727)
- com.oracle.truffle.polyglot.PolyglotContextImpl.checkAllThreadAccesses(PolyglotContextImpl.java:627)
- com.oracle.truffle.polyglot.PolyglotContextImpl.enterThreadChanged(PolyglotContextImpl.java:526)
- com.oracle.truffle.polyglot.PolyglotEngineImpl.enter(PolyglotEngineImpl.java:1857)
- com.oracle.truffle.polyglot.HostToGuestRootNode.execute(HostToGuestRootNode.java:104)
- org.graalvm.polyglot.Value.canExecute(Value.java:434)
This works with version 0.9.6
Is some additional config missing to making it work? I could not find any mention to it in the upgrade guide.