Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix non-corruption in testCurrentHeaderVersion (elastic#50883)
Today we make multiple attempts to corrupt the translog header in `TranslogHeaderTests#testCurrentHeaderVersion`, but if we are extraordinarily unlucky then this sequence of corruptions may restore the file to its original state. This change adjusts the test to only corrupt the file once, which is certain not to leave the file in its original state.
- Loading branch information