Lenni Kuff created SENTRY-946:
---------------------------------

             Summary: [unit test] 
TestSentryServiceClientPool.testConnectionWithMultipleRetries sporadically 
fails with error: "AssertionError: Some tasks are failed" 
                 Key: SENTRY-946
                 URL: https://issues.apache.org/jira/browse/SENTRY-946
             Project: Sentry
          Issue Type: Bug
          Components: Test
    Affects Versions: 1.6.0
            Reporter: Lenni Kuff



The following test seems to be flaky and has caused failures in the PreCommit 
builds:
org.apache.sentry.provider.db.service.thrift.TestSentryServiceClientPool.testConnectionWithMultipleRetries

{code}
Error Message

Some tasks are failed.
Stacktrace

java.lang.AssertionError: Some tasks are failed.
        at org.junit.Assert.fail(Assert.java:93)
        at org.junit.Assert.assertTrue(Assert.java:43)
        at 
org.apache.sentry.provider.db.service.thrift.TestSentryServiceClientPool$2.runTestAsSubject(TestSentryServiceClientPool.java:108)
        at 
org.apache.sentry.service.thrift.SentryServiceIntegrationBase$3.run(SentryServiceIntegrationBase.java:355)
        at 
org.apache.sentry.service.thrift.SentryServiceIntegrationBase$3.run(SentryServiceIntegrationBase.java:352)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAs(Subject.java:415)
        at 
org.apache.sentry.service.thrift.SentryServiceIntegrationBase.runTestAsSubject(SentryServiceIntegrationBase.java:352)
        at 
org.apache.sentry.provider.db.service.thrift.TestSentryServiceClientPool.testConnectionWithMultipleRetries(TestSentryServiceClientPool.java:69)
{code}

Example:
https://builds.apache.org/job/PreCommit-SENTRY-Build/940/testReport/junit/org.apache.sentry.provider.db.service.thrift/TestSentryServiceClientPool/testConnectionWithMultipleRetries/





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to