When I tried, I didn't use the refactored waitIfClosing(). I used the
original waitUntilClosed() and the if statements surrounding it.

On Fri, May 1, 2020 at 3:40 PM Jianxia Chen <jche...@apache.org> wrote:

> I don't know the exact root cause. This failure can be consistently
> reproduced in my local environment.
>
> I tried the following:
>
> 1. Revert the changes of GemFireCacheImpl
> 2. Introduced the new doClose() method as in your pull request
> 3. Change the return statements to return true or false accordingly as in
> your pull request.
>
> The test IntegrationJUnitTest passes.
>
> -Jianxia
>
> On Fri, May 1, 2020 at 1:42 PM Kirk Lund <kl...@apache.org> wrote:
>
>> This is from a PR in which I extracted doClose from
>> GemFireCacheImpl.close(). Any ideas what would cause
>> *java.lang.NoClassDefFoundError:
>> Could not initialize class
>> org.apache.geode.internal.cache.TXCommitMessage*?
>>
>> org.apache.geode.memcached.IntegrationJUnitTest > testGemFireProperty
>> FAILED
>>     *java.lang.NoClassDefFoundError: Could not initialize class
>> org.apache.geode.internal.cache.TXCommitMessage*
>>         at
>>
>> org.apache.geode.internal.cache.GemFireCacheImpl.doClose(GemFireCacheImpl.java:2357)
>>         at
>>
>> org.apache.geode.internal.cache.GemFireCacheImpl.close(GemFireCacheImpl.java:2066)
>>         at
>>
>> org.apache.geode.internal.cache.GemFireCacheImpl.close(GemFireCacheImpl.java:1934)
>>         at
>>
>> org.apache.geode.internal.cache.GemFireCacheImpl.close(GemFireCacheImpl.java:1924)
>>         at
>>
>> org.apache.geode.memcached.IntegrationJUnitTest.testGemFireProperty(IntegrationJUnitTest.java:58)
>>
>> My PR only has changes to GemFireCacheImpl and GemFireCacheImplCloseTest.
>>
>> -Kirk
>>
>

Reply via email to