Commit e13f239
authored
test(data-pipeline): handle EINTR in test_health_metrics_disabled (#1430)
test(data-pipeline): handle EINTR in test_health_metrics_disabled
Handle ErrorKind::Interrupted alongside WouldBlock/TimedOut when
reading from socket. Signals can interrupt the blocking recvfrom()
syscall, causing EINTR instead of timeout.
Fixes intermittent CI test failure.
Co-authored-by: levi.morrison <levi.morrison@datadoghq.com>1 parent 9508161 commit e13f239
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1464 | 1464 | | |
1465 | 1465 | | |
1466 | 1466 | | |
1467 | | - | |
| 1467 | + | |
| 1468 | + | |
1468 | 1469 | | |
1469 | | - | |
1470 | | - | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
| 1473 | + | |
1471 | 1474 | | |
1472 | 1475 | | |
1473 | 1476 | | |
| |||
0 commit comments