apache / lucene

Apache Lucene open-source search software
https://lucene.apache.org/
Apache License 2.0
2.56k stars 1k forks source link

TestLRUQueryCache.testDetectMutatedQueries does not work on Java 9 b150 [LUCENE-7604] #8655

Open asfimport opened 7 years ago

asfimport commented 7 years ago

For some strange reason, the test testDetectMutatedQueries of TestLRUQueryCache suite does not trigger the ConcurrentModificationException on changing the hashCode (see BadQuery class).

I have no idea why this happens, so I will disable this test on Java 9 for now.

The other test also fails with Java 9 because of RamUsageTester (#8646), but this is unrelated, so I opened a separate issue.


Migrated from LUCENE-7604 by Uwe Schindler (@uschindler), updated Mar 07 2018 Linked issues:

asfimport commented 7 years ago

ASF subversion and git services (migrated from JIRA)

Commit 1d3fb3e9a9ea0e3d566632c0b827dad0295ce425 in lucene-solr's branch refs/heads/master from @uschindler https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=1d3fb3e

LUCENE-7604: Disable test on Java 9

asfimport commented 7 years ago

ASF subversion and git services (migrated from JIRA)

Commit f217e3c43bdf10391fd66d555c478e1318e02299 in lucene-solr's branch refs/heads/branch_6x from @uschindler https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=f217e3c

LUCENE-7604: Disable test on Java 9