4 Commits

Author SHA1 Message Date
fd4fc92c74 service,proc: fix tests to enable parallel runs (#4135)
* *: randomize testnextnethttp.go listen port

* service/test: prefer t.Setenv

* *: cleanup port pid files

* service: fix final parallelization bugs

* address review feedback

* pkg/proc: fix test on windows

* fix finding port file on TestIssue462
2025-09-29 11:13:03 -04:00
7b19fe9e69 proc: add test for attach/detach, fix detach (#773)
Detach did not work for processes we attach to via PID.

Linux: we were only detaching from the main thread, all threads are
detached independently

Windows: we must resume all threads before detaching.

macOS: still broken.

Updates #772
2017-03-28 09:30:27 -07:00
869884b9ab Bind to less used port in test 2015-08-08 14:30:23 -05:00
b32afd92ad Add test for kevent patch 2015-07-15 19:57:54 -05:00