Skip to content

Commit ade5137

Browse files
committed
docs: added note on hanging servers from testing
1 parent 76c5f97 commit ade5137

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/next/en-US/fundamentals/testing.md

+12
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,15 @@ It is entirely permissible, and indeed encouraged, for apps that have more advan
6060
Common uses of custom checkpoints are particularly when combined with the [suspended state] system, if some of your pages fetch state on the client-side, and you want to test for that all working correctly.
6161

6262
If a checkpoint is not emitted, tests waiting for it will fail with a timeout error.
63+
64+
## Hanging servers
65+
66+
Note that *some* critical errors during testing will lead to process termination in such a way that Perseus sometimes won't catch the child process failure correctly, which may lead to a server being left open on your computer. These are easy to terminate manually though: on Linux you might do this:
67+
68+
```
69+
netstat -lnp | grep 8080
70+
```
71+
72+
You would replace `8080` with whatever port you're running the tests on, and then this should list a PID that you can kill with `kill <pid-here>`.
73+
74+
Please note that this is considered a bug, but it's a known one, and it will be addressed soon!

0 commit comments

Comments
 (0)