mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-02 17:09:18 +00:00
Merge pull request #13609 from mikemccand/iw_fne_init
Fix InternalEngineTests.testTranslogReplayWithFailure to expect AssertionError as well
This commit is contained in:
commit
69199ffb6f
@ -1728,7 +1728,9 @@ public class InternalEngineTests extends ESTestCase {
|
||||
engine = createEngine(store, primaryTranslogDir);
|
||||
started = true;
|
||||
break;
|
||||
} catch (EngineCreationFailureException ex) {
|
||||
} catch (EngineCreationFailureException | AssertionError ex) {
|
||||
// IndexWriter can throw AssertionError on init (if asserts are enabled) if we throw FNFE/NSFE when it asserts that all
|
||||
// referenced files in the current commit point do exist
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user