[ 
https://issues.apache.org/jira/browse/GEODE-6321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16855770#comment-16855770
 ] 

Peter Tran commented on GEODE-6321:
-----------------------------------

This occured again here:
https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-main/jobs/IntegrationTestOpenJDK8/builds/764

{code}
org.apache.geode.internal.ScheduledThreadPoolExecutorWithKeepAliveJUnitTest > 
testShutdown FAILED
        
    java.lang.AssertionError: Shutdown did not wait to task to complete. Only 
waited 3797
        
        at org.junit.Assert.fail(Assert.java:88)
        
        at org.junit.Assert.assertTrue(Assert.java:41)
        
        at 
org.apache.geode.internal.ScheduledThreadPoolExecutorWithKeepAliveJUnitTest.testShutdown(ScheduledThreadPoolExecutorWithKeepAliveJUnitTest.java:226)
{code}

For further analysis, the detailed logs are available at:

{code}
http://files.apachegeode-ci.info/builds/apache-develop-main/1.10.0-SNAPSHOT.0327/test-results/integrationTest/1559598326/
{code}

Additional artifacts:
{code}
http://files.apachegeode-ci.info/builds/apache-develop-main/1.10.0-SNAPSHOT.0327/test-artifacts/1559598326/integrationtestfiles-OpenJDK8-1.10.0-SNAPSHOT.0327.tgz
{code}

> ScheduledThreadPoolExecutorWithKeepAliveJUnitTest's testShutdown() has 
> invalid expectation 
> -------------------------------------------------------------------------------------------
>
>                 Key: GEODE-6321
>                 URL: https://issues.apache.org/jira/browse/GEODE-6321
>             Project: Geode
>          Issue Type: Bug
>            Reporter: xiaojian zhou
>            Priority: Major
>              Labels: test
>
> {noformat}
> https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-main/jobs/IntegrationTestOpenJDK8/builds/325
> reproduced following failure:
> org.apache.geode.internal.ScheduledThreadPoolExecutorWithKeepAliveJUnitTest > 
> testShutdown FAILED
>     java.lang.AssertionError: Shutdown did not wait to task to complete. Only 
> waited 3850
>         at org.junit.Assert.fail(Assert.java:88)
>         at org.junit.Assert.assertTrue(Assert.java:41)
>         at 
> org.apache.geode.internal.ScheduledThreadPoolExecutorWithKeepAliveJUnitTest.testShutdown(ScheduledThreadPoolExecutorWithKeepAliveJUnitTest.java:226)
> {noformat}
> The root cause is:
> The test detected the shutdown finished within 10 seconds as expected. But it 
> also expected it to finish longer than 4 seconds. This is an invalid 
> expectation. Usually it did finish after 4 seconds, but on some running VMs, 
> it finished earlier (such as 3850 ms this time). 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to