I'm converting about 2800 tests from Karate 0.9.6 to Karate 1.1.0. While going through the breaking changes and refactoring the existing tests I'm encountering a lot of tests randomly failing due to the error:
Multi threaded access requested by thread Thread[pool-2-thread-1,5,main] but is not allowed for language(s) js.
These are for different reasons all over the place. Most are from Background steps but not all. Here are a few cases that fail:
* configure headers = { cache-control: 'no-cache' , Accept: 'application/fhir+json' }
* def authToken = callonce read('classpath:com/company/tests/token/AuthToken.feature')
And header Access-Control-Request-Headers = 'Content-Type'
I tried to create a project to duplicate the issue but it seems random. Are there known issues with this?