mirror of https://github.com/apache/lucene.git
parent
8d9290ca36
commit
1a6932f0ea
|
@ -850,7 +850,7 @@ public class TestBasicBackwardsCompatibility extends BackwardsCompatibilityTestB
|
|||
}
|
||||
|
||||
public void testFailOpenOldIndex() throws IOException {
|
||||
assumeFalse("doesn't work on current index", version.equals(Version.LATEST));
|
||||
assumeFalse("doesn't work on current index", version.major == Version.LATEST.major);
|
||||
IndexCommit commit = DirectoryReader.listCommits(directory).get(0);
|
||||
IndexFormatTooOldException ex =
|
||||
expectThrows(
|
||||
|
|
Loading…
Reference in New Issue