(t *testing.T, shimPid, expected int)
| 135 | } |
| 136 | |
| 137 | func checkTTY(t *testing.T, shimPid, expected int) { |
| 138 | require.NoError(t, Eventually(func() (bool, error) { |
| 139 | if numTTY(shimPid) == expected { |
| 140 | return true, nil |
| 141 | } |
| 142 | return false, nil |
| 143 | }, time.Second, 30*time.Second)) |
| 144 | } |
no test coverage detected
searching dependent graphs…