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

wait for sandbox start timeout #125

Closed think-in-universe closed 2 years ago

think-in-universe commented 2 years ago

Developers reported that when launching the workspace test, the sandbox failed to start within the hardcoded 20 seconds waiting time.

https://github.com/near/workspaces-js/blob/7a1830f3111b19e72a3528360efa870d2c1ca5a9/packages/js/src/container/server.ts#L58

Let's make the 20s sandbox waiting time configurable or make it larger.