Commit cfd0b91
authored
Fix random EPIPE failure in SIGINT restore tests (#1191)
Rescue Errno::EPIPE in test_sigint_restore_default and
test_sigint_restore_block. The child process may exit before
assert_in_out_err finishes writing "exit\n" to its stdin pipe,
which is a race condition in the test setup, not an IRB bug.1 parent 8a1129d commit cfd0b91
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
| 111 | + | |
110 | 112 | | |
111 | 113 | | |
112 | 114 | | |
113 | 115 | | |
114 | 116 | | |
115 | 117 | | |
116 | 118 | | |
| 119 | + | |
| 120 | + | |
117 | 121 | | |
118 | 122 | | |
119 | 123 | | |
| |||
0 commit comments