Commit dc3593f
committed
ci: equivalence — pass output-directory (not database/) as java DbFork -d
Third latent bug the vacuous skip had hidden, now that the gate runs:
java DbFork failed with
IO error: .../002/database/database/witness/LOCK: No such file or directory
^^^^^^^^^^^^^^^^ doubled
The test passed `-d <scratch>/database`, but java DbFork's -d is the
output-directory (the PARENT of database/) — DbTool.getDB appends
`database/<store>` internally (DbFork.java:120). So java looked in
<scratch>/database/database/<store> and failed to open the LOCK.
The Go side already uses the parent (Apply(scratchGo) opens
scratchGo/database/<store>), and diffStore reads via
OpenLevelDB(<parent>, store) — so only java's -d was wrong. This was
never exercised before because the gate skipped on the missing jar.
Fix: pass scratchJava (the output-directory parent) as -d. The Go
Apply ran cleanly in the failed run (its TRC20-skip logs are present);
this unblocks java so the run reaches the actual 8-store diff.1 parent 81c9ad0 commit dc3593f
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
150 | 158 | | |
151 | 159 | | |
152 | 160 | | |
| |||
0 commit comments