Commit 85c8b76
authored
Fix flakiness in
By looking only for file descriptors pointing to the current test
directory (i.e. exclude the internal file descriptors of Node).
And forward stdin/stderr to `/dev/null`, we are only interested
in `stdout`.
So:
```
find /proc/<PROCESS>/fd -lname "<DIR>*" -printf "%l\n" || true
```
Instead of:
```
find /proc/<PROCESS>/fd -lname "<DIR>*" -printf "%l
" || true
```
Fixes: #16887.other.test_unistd_close_noderawfs (#16888)1 parent e749f23 commit 85c8b76
1 file changed
+12
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11652 | 11652 | | |
11653 | 11653 | | |
11654 | 11654 | | |
11655 | | - | |
11656 | | - | |
| 11655 | + | |
| 11656 | + | |
11657 | 11657 | | |
11658 | 11658 | | |
| 11659 | + | |
11659 | 11660 | | |
11660 | 11661 | | |
11661 | | - | |
11662 | | - | |
11663 | | - | |
11664 | | - | |
11665 | | - | |
11666 | | - | |
11667 | | - | |
| 11662 | + | |
| 11663 | + | |
| 11664 | + | |
| 11665 | + | |
| 11666 | + | |
| 11667 | + | |
| 11668 | + | |
| 11669 | + | |
| 11670 | + | |
11668 | 11671 | | |
11669 | 11672 | | |
11670 | 11673 | | |
| |||
0 commit comments