Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove stale BWC tests #12874

Merged
merged 1 commit into from
Jan 9, 2024
Merged

Remove stale BWC tests #12874

merged 1 commit into from
Jan 9, 2024

Conversation

s1monw
Copy link
Member

@s1monw s1monw commented Dec 4, 2023

Both of these tests have been disabled for quiet a long time. While TestManyPointsInOldIndex looks indeed stale, TestIndexWriterOnOldIndex is not a more general test.

Both of these tests have been disabled for quiet a long time. While `TestManyPointsInOldIndex`
looks indeed stale, `TestIndexWriterOnOldIndex` is not a more general test.
}

public void testCheckOldIndex() throws IOException {
assumeTrue("Reenable when 7.0 is released", false);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doh! So I guess this test never got enabled, and now the index it is testing (which is apparently nowhere to be found in our resources) is too ancient for modern Lucene to read.

public class TestIndexWriterOnOldIndex extends LuceneTestCase {

public void testOpenModeAndCreatedVersion() throws IOException {
assumeTrue("Reenable when 8.0 is released", false);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sheesh ... this makes me wonder what other assumeTrue are lurking that we failed to re-enable on XYZ release!

Copy link

github-actions bot commented Jan 8, 2024

This PR has not had activity in the past 2 weeks, labeling it as stale. If the PR is waiting for review, notify the dev@lucene.apache.org list. Thank you for your contribution!

@github-actions github-actions bot added the Stale label Jan 8, 2024
@s1monw s1monw merged commit ea32722 into apache:main Jan 9, 2024
4 checks passed
@s1monw s1monw deleted the remove_dead_code branch January 9, 2024 10:50
s1monw added a commit that referenced this pull request Jan 9, 2024
Both of these tests have been disabled for quiet a long time. While `TestManyPointsInOldIndex`
looks indeed stale, `TestIndexWriterOnOldIndex` is not a more general test.
slow-J pushed a commit to slow-J/lucene that referenced this pull request Jan 16, 2024
Both of these tests have been disabled for quiet a long time. While `TestManyPointsInOldIndex`
looks indeed stale, `TestIndexWriterOnOldIndex` is not a more general test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants