[
https://issues.apache.org/jira/browse/GEODE-2672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Smith resolved GEODE-2672.
------------------------------
Resolution: Fixed
Assignee: Dan Smith
> LuceneManagementDUnitTest.testMBeanAndProxiesCreated fails intermittently
> with ConditionTimeoutException
> --------------------------------------------------------------------------------------------------------
>
> Key: GEODE-2672
> URL: https://issues.apache.org/jira/browse/GEODE-2672
> Project: Geode
> Issue Type: Bug
> Components: lucene, tests
> Reporter: Kirk Lund
> Assignee: Dan Smith
> Labels: Flaky
>
> This test seems to pass when I run it on its own:
> {noformat}
> ./gradlew -DdistributedTest.single=LuceneManagementDUnitTest
> geode-lucene:distributedTest
> {noformat}
> But it fails intermittently in precheckin:
> {noformat}
> org.apache.geode.cache.lucene.internal.management.LuceneManagementDUnitTest >
> testMBeanAndProxiesCreated FAILED
> org.apache.geode.test.dunit.RMIException: While invoking
> org.apache.geode.cache.lucene.internal.management.LuceneManagementDUnitTest$$Lambda$22/815946332.run
> in VM 0 running on Host d020cb82c1fd with 4 VMs
> at org.apache.geode.test.dunit.VM.invoke(VM.java:377)
> at org.apache.geode.test.dunit.VM.invoke(VM.java:347)
> at org.apache.geode.test.dunit.VM.invoke(VM.java:292)
> at
> org.apache.geode.cache.lucene.internal.management.LuceneManagementDUnitTest.testMBeanAndProxiesCreated(LuceneManagementDUnitTest.java:58)
> Caused by:
> org.awaitility.core.ConditionTimeoutException: Condition defined as a
> lambda expression in
> org.apache.geode.cache.lucene.internal.management.LuceneManagementDUnitTest
> that uses org.apache.geode.management.internal.SystemManagementService,
> org.apache.geode.management.internal.SystemManagementServicejavax.management.ObjectName
> null within 5 seconds.
> at
> org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:104)
> at
> org.awaitility.core.AssertionCondition.await(AssertionCondition.java:117)
> at
> org.awaitility.core.AssertionCondition.await(AssertionCondition.java:32)
> at
> org.awaitility.core.ConditionFactory.until(ConditionFactory.java:809)
> at
> org.awaitility.core.ConditionFactory.until(ConditionFactory.java:648)
> at
> org.apache.geode.cache.lucene.internal.management.LuceneManagementDUnitTest.getMBeanProxy(LuceneManagementDUnitTest.java:172)
> at
> org.apache.geode.cache.lucene.internal.management.LuceneManagementDUnitTest.verifyMBeanProxies(LuceneManagementDUnitTest.java:164)
> at
> org.apache.geode.cache.lucene.internal.management.LuceneManagementDUnitTest.lambda$testMBeanAndProxiesCreated$bb17a952$2(LuceneManagementDUnitTest.java:58)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)