Now trying to run ant test with java7. I get the follow failing tests. Hmmm
[junit4] Suite:
org.apache.lucene.facet.taxonomy.directory.TestDirectoryTaxonomyWriter
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=TestDirectoryTaxonomyWriter -Dtests.method=testConcurrency
-Dtests.seed=6A95BF7E6A49187D -Dtests.slow=true -Dtests.locale=en_ZA
-Dtests.timezone=America/St_Vincent -Dtests.asserts=true
-Dtests.file.encoding=UTF-8
[junit4] ERROR 3.81s J2 |
TestDirectoryTaxonomyWriter.testConcurrency <<<
[junit4] > Throwable #1: java.lang.NoSuchMethodError:
java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
[junit4] > at
__randomizedtesting.SeedInfo.seed([6A95BF7E6A49187D:CC657DE30B1AF8B4]:0)
[junit4] > at
org.apache.lucene.facet.taxonomy.directory.TestDirectoryTaxonomyWriter.testConcurrency(TestDirectoryTaxonomyWriter.java:309)
[junit4] > at java.lang.Thread.run(Thread.java:744)
[junit4] 2> NOTE: test params are: codec=Asserting(Lucene50):
{$full_path$=PostingsFormat(name=LuceneVarGapDocFreqInterval),
$payloads$=PostingsFormat(name=LuceneVarGapDocFreqInterval),
$facets=PostingsFormat(name=LuceneVarGapFixedInterval)},
docValues:{$facets=DocValuesFormat(name=Lucene50)},
sim=DefaultSimilarity, locale=en_ZA, timezone=America/St_Vincent
[junit4] 2> NOTE: Mac OS X 10.10.2 x86_64/Oracle Corporation
1.7.0_51 (64-bit)/cpus=8,threads=1,free=193456536,total=236453888
[junit4] 2> NOTE: All tests run in this JVM:
[TestTaxonomyCombined, TestDirectoryTaxonomyWriter]
[junit4] Completed on J2 in 6.67s, 15 tests, 1 error <<< FAILURES!
[junit4]
[junit4] Suite: org.apache.lucene.facet.TestMultipleIndexFields
[junit4] Completed on J2 in 1.43s, 5 tests
[junit4]
[junit4] Suite:
org.apache.lucene.facet.taxonomy.TestTaxonomyFacetSumValueSource
[junit4] Completed on J2 in 2.62s, 9 tests
[junit4]
[junit4] Suite: org.apache.lucene.facet.TestDrillSideways
[junit4] Completed on J3 in 10.73s, 6 tests
[junit4]
[junit4] Suite:
org.apache.lucene.facet.taxonomy.directory.TestConcurrentFacetedIndexing
[junit4] 2> NOTE: reproduce with: ant test
-Dtestcase=TestConcurrentFacetedIndexing -Dtests.method=testConcurrency
-Dtests.seed=6A95BF7E6A49187D -Dtests.slow=true -Dtests.locale=de_DE
-Dtests.timezone=SST -Dtests.asserts=true -Dtests.file.encoding=UTF-8
[junit4] ERROR 1.54s J2 |
TestConcurrentFacetedIndexing.testConcurrency <<<
[junit4] > Throwable #1: java.lang.NoSuchMethodError:
java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
[junit4] > at
__randomizedtesting.SeedInfo.seed([6A95BF7E6A49187D:CC657DE30B1AF8B4]:0)
[junit4] > at
org.apache.lucene.facet.taxonomy.directory.TestConcurrentFacetedIndexing.testConcurrency(TestConcurrentFacetedIndexing.java:142)
[junit4] > at java.lang.Thread.run(Thread.java:744)
[junit4] 2> NOTE: test params are: codec=Asserting(Lucene50):
{$full_path$=PostingsFormat(name=Direct),
$payloads$=PostingsFormat(name=Direct)}, docValues:{},
sim=RandomSimilarityProvider(queryNorm=true,coord=no): {}, locale=de_DE,
timezone=SST
[junit4] 2> NOTE: Mac OS X 10.10.2 x86_64/Oracle Corporation
1.7.0_51 (64-bit)/cpus=8,threads=1,free=168753144,total=240648192
[junit4] 2> NOTE: All tests run in this JVM:
[TestTaxonomyCombined, TestDirectoryTaxonomyWriter,
TestMultipleIndexFields, TestTaxonomyFacetSumValueSource,
TestConcurrentFacetedIndexing]
[junit4] Completed on J2 in 1.61s, 1 test, 1 error <<< FAILURES!
On 24/04/15 22:11, Dawid Weiss wrote:
1. does it fail when you run it via ant (ant build)?
2. the problem is very likely in dependencies declared in Maven (as
compared to what the ivy dependencies are).
Dawid
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]