Fix integration tests problems
Integration tests appear to have issues in certain conditions, when run on github CI, which depends on the order in which they are run, which tests are enabled (there is no single failing test). I was unable to reproduce the issue on any other machine than Github workers.
The issue appears as one of the following problems:
- capacity overflow
- memory allocation failure
After some investigation, while I wasn't able to pinpoint a specific issue, I determined that the issue arises from concurrent JS code interacting with the NAPI-RS layer.
This commit attempts to stop the problems, by removing the concurrency. This severely limits the speed at which executeConcurrent is performed, but appears to fully resolve the issue (test size = 30).
With this in mind, any concurrency should be implemented on Rust side, or the root issue should be determined before removing the concurrency restrictions.