File tree 1 file changed +5
-8
lines changed
1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,11 @@ import (
18
18
"github.com/coder/coder/testutil"
19
19
)
20
20
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
22
26
func TestReap (t * testing.T ) {
23
27
// Don't run the reaper test in CI. It does weird
24
28
// things like forkexecing which may have unintended
@@ -27,13 +31,6 @@ func TestReap(t *testing.T) {
27
31
t .Skip ("Detected CI, skipping reaper tests" )
28
32
}
29
33
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 ) {
37
34
pids := make (reap.PidCh , 1 )
38
35
err := reaper .ForkReap (
39
36
reaper .WithPIDCallback (pids ),
You can’t perform that action at this time.
0 commit comments