File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,11 @@ import (
1818 "github.com/coder/coder/testutil"
1919)
2020
21- //nolint:paralleltest // Non-parallel subtest.
21+ // TestReap checks that's the reaper is successfully reaping
22+ // exited processes and passing the PIDs through the shared
23+ // channel.
24+ //
25+ //nolint:paralleltest
2226func TestReap (t * testing.T ) {
2327 // Don't run the reaper test in CI. It does weird
2428 // things like forkexecing which may have unintended
@@ -27,13 +31,6 @@ func TestReap(t *testing.T) {
2731 t .Skip ("Detected CI, skipping reaper tests" )
2832 }
2933
30- // OK checks that's the reaper is successfully reaping
31- // exited processes and passing the PIDs through the shared
32- // channel.
33- }
34-
35- //nolint:paralleltest // Signal handling.
36- func TestReap_OK (t * testing.T ) {
3734 pids := make (reap.PidCh , 1 )
3835 err := reaper .ForkReap (
3936 reaper .WithPIDCallback (pids ),
You can’t perform that action at this time.
0 commit comments