Commit 532699e
committed
fix: improve pool load test robustness and error handling
- Replace unsafe max Float64 value (1.7976931348623157e308) with platform-safe 1.0e307 to prevent flaky tests from platform-specific rounding
- Replace unsafe Enum.reduce with defensive Enum.reduce_while in concurrent transaction test to gracefully handle insert failures instead of crashing
- Add explicit error handling in reduce_while with clear error payloads for debugging
- Improves test reliability and diagnostic value1 parent e7683a3 commit 532699e
1 file changed
Lines changed: 27 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1096 | 1096 | | |
1097 | 1097 | | |
1098 | 1098 | | |
1099 | | - | |
| 1099 | + | |
1100 | 1100 | | |
1101 | 1101 | | |
1102 | | - | |
| 1102 | + | |
1103 | 1103 | | |
1104 | 1104 | | |
1105 | 1105 | | |
| |||
1377 | 1377 | | |
1378 | 1378 | | |
1379 | 1379 | | |
1380 | | - | |
1381 | | - | |
1382 | | - | |
1383 | | - | |
1384 | | - | |
| 1380 | + | |
| 1381 | + | |
| 1382 | + | |
| 1383 | + | |
| 1384 | + | |
| 1385 | + | |
| 1386 | + | |
| 1387 | + | |
1385 | 1388 | | |
1386 | | - | |
1387 | | - | |
1388 | | - | |
1389 | | - | |
| 1389 | + | |
| 1390 | + | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
| 1395 | + | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
| 1400 | + | |
1390 | 1401 | | |
| 1402 | + | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
1391 | 1406 | | |
1392 | | - | |
| 1407 | + | |
1393 | 1408 | | |
1394 | 1409 | | |
1395 | 1410 | | |
| |||
0 commit comments