Commit b8ea47a
committed
test: pin the sink against silent read failures
Greptile flagged the JS counterpart for reading every failure as an empty
sink, which lets the deduplication phase forget the effect id and still
pass. The Ruby sink already rescues only Errno::ENOENT, and the Ruby
effect worker already fails when no effect became claimable, so neither
defect exists here.
Both properties were incidental until now. These two tests make them
deliberate: a truncated JSON file and a path that is a directory must
raise rather than read as a first run. Widening the rescue to
StandardError fails both.1 parent abe93f0 commit b8ea47a
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
45 | 60 | | |
0 commit comments