near / near-workspaces-js

Write tests once, run them both on NEAR TestNet and a controlled NEAR Sandbox local environment
https://near.github.io/near-workspaces-js/
GNU General Public License v3.0
42 stars 21 forks source link

Sandbox Server timeout #174

Open Eduardogbg opened 2 years ago

Eduardogbg commented 2 years ago

As I'm affected by issue #170 I made my near-workspaces dependency point to commit ba865c4b05b149a56e17c586a1355c3ef30dc335 so I could get the sandbox@0.0.10 but it lead to a new error, where the tests won't run at all, with the following error message: "Sandbox Server with port: [port] failed to start after 60000ms"

Eduardogbg commented 2 years ago

Something in the Sandbox seems to require an ulimit of around 12k while WSL usually has it either as 1024 or 4096. In order to increase the ulimit in WSL, this thread was helpful.

I found it by using workspaces-rs which reported the error to me. I don't know what the appropriate solution could be, maybe better reporting of the Sandbox errors to the Workspaces user.