Commit ab1ab73
committed
FunctionalTests: fail fast when shared enlistment mount is dead
When GitRepoTests uses a shared enlistment (enlistmentPerTest=false),
check IsMounted() in SetupForTest before running git commands. If the
mount process crashed during a previous test, all remaining tests in
the fixture would fail with the same unhelpful 'does not appear to be
mounted' error from the pre-command hook. The early check produces a
clear message pointing to the earlier root-cause failure.
Assisted-by: Claude Opus 4.6
Signed-off-by: Tyrie Vella <tyrielv@gmail.com>1 parent 57bb761 commit ab1ab73
1 file changed
Lines changed: 7 additions & 0 deletions
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
140 | 147 | | |
141 | 148 | | |
142 | 149 | | |
| |||
0 commit comments