You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Na Li (JIRA)" <ji...@apache.org> on 2017/04/27 19:41:04 UTC

[jira] [Commented] (SENTRY-1721) Unit test failures in TestSentryStore

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

Na Li commented on SENTRY-1721:
-------------------------------

org.apache.sentry.provider.db.service.persistent.TestSentryStore.testPrivilegesWithPermUpdate

Failing for the past 1 build (Since Failed#2590 )
Took 0.35 sec.
Error Message

expected:<2007> but was:<2>
Stacktrace

java.lang.AssertionError: expected:<2007> but was:<2>
	at org.apache.sentry.provider.db.service.persistent.TestSentryStore.testPrivilegesWithPermUpdate(TestSentryStore.java:2707)

> Unit test failures in TestSentryStore
> -------------------------------------
>
>                 Key: SENTRY-1721
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1721
>             Project: Sentry
>          Issue Type: Sub-task
>          Components: Sentry
>    Affects Versions: sentry-ha-redesign
>            Reporter: Na Li
>            Assignee: Na Li
>              Labels: test
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
> We encounter multiple incidents of unit test failures. They are mainly TestSentryStore.testPrivilegesWithPermUpdate and TestPrivilegeOperatePersistence.testGrantPrivilegeExternalComponentInvalidConf
> These tests fail more often when HMSFollower is created after SentryService.Start() is called. And less frequent when HMSFollower is created in SentryService constructor. Need investigation on whether this is just a bug in test cases or reflect issues in synchronization between Sentry HMS metastore.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)