fix test to expect AssertionError as well
This commit is contained in:
parent
01e6d8e3dc
commit
51773f2a66
|
@ -1728,7 +1728,9 @@ public class InternalEngineTests extends ESTestCase {
|
||||||
engine = createEngine(store, primaryTranslogDir);
|
engine = createEngine(store, primaryTranslogDir);
|
||||||
started = true;
|
started = true;
|
||||||
break;
|
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…
Reference in New Issue