Na Li created SENTRY-2420:
-----------------------------
Summary:
TestSentryHDFSServiceProcessor.testRequestSyncUpdatesWhenPubSubNotifyReturnsFullPathsUpdate
is flaky
Key: SENTRY-2420
URL: https://issues.apache.org/jira/browse/SENTRY-2420
Project: Sentry
Issue Type: Bug
Components: Sentry
Affects Versions: 2.1.0, 2.2.0
Reporter: Na Li
Assignee: Na Li
This test sometimes works, and sometimes fails.
{code}
[ERROR] Failures:
[ERROR]
org.apache.sentry.hdfs.TestSentryHDFSServiceProcessor.testRequestSyncUpdatesWhenPubSubNotifyReturnsFullPathsUpdate(org.apache.sentry.hdfs.TestSentryHDFSServiceProcessor)
[ERROR] Run 1:
TestSentryHDFSServiceProcessor.testRequestSyncUpdatesWhenPubSubNotifyReturnsFullPathsUpdate:174
expected:<1> but was:<0>
[ERROR] Run 2:
TestSentryHDFSServiceProcessor.testRequestSyncUpdatesWhenPubSubNotifyReturnsFullPathsUpdate:174
expected:<1> but was:<0>
[ERROR] Run 3:
TestSentryHDFSServiceProcessor.testRequestSyncUpdatesWhenPubSubNotifyReturnsFullPathsUpdate:174
expected:<1> but was:<0>
[ERROR] Run 4:
TestSentryHDFSServiceProcessor.testRequestSyncUpdatesWhenPubSubNotifyReturnsFullPathsUpdate:174
expected:<1> but was:<0>
[INFO]
{code}
In another run
{code}
[ERROR] Tests run: 8, Failures: 4, Errors: 0, Skipped: 2, Time elapsed: 0.128 s
<<< FAILURE! - in org.apache.sentry.hdfs.TestSentryHDFSServiceProcessor
[ERROR]
testRequestSyncUpdatesWhenPubSubNotifyReturnsFullPathsUpdate(org.apache.sentry.hdfs.TestSentryHDFSServiceProcessor)
Time elapsed: 0.011 s <<< FAILURE!
java.lang.AssertionError: expected:<1> but was:<0>
at
org.apache.sentry.hdfs.TestSentryHDFSServiceProcessor.testRequestSyncUpdatesWhenPubSubNotifyReturnsFullPathsUpdate(TestSentryHDFSServiceProcessor.java:174)
[ERROR]
testRequestSyncUpdatesWhenPubSubNotifyReturnsFullPathsUpdate(org.apache.sentry.hdfs.TestSentryHDFSServiceProcessor)
Time elapsed: 0.01 s <<< FAILURE!
java.lang.AssertionError: expected:<1> but was:<0>
at
org.apache.sentry.hdfs.TestSentryHDFSServiceProcessor.testRequestSyncUpdatesWhenPubSubNotifyReturnsFullPathsUpdate(TestSentryHDFSServiceProcessor.java:174)
[ERROR]
testRequestSyncUpdatesWhenPubSubNotifyReturnsFullPathsUpdate(org.apache.sentry.hdfs.TestSentryHDFSServiceProcessor)
Time elapsed: 0 s <<< FAILURE!
java.lang.AssertionError: expected:<1> but was:<0>
at
org.apache.sentry.hdfs.TestSentryHDFSServiceProcessor.testRequestSyncUpdatesWhenPubSubNotifyReturnsFullPathsUpdate(TestSentryHDFSServiceProcessor.java:174)
[ERROR]
testRequestSyncUpdatesWhenPubSubNotifyReturnsFullPathsUpdate(org.apache.sentry.hdfs.TestSentryHDFSServiceProcessor)
Time elapsed: 0 s <<< FAILURE!
java.lang.AssertionError: expected:<1> but was:<0>
at
org.apache.sentry.hdfs.TestSentryHDFSServiceProcessor.testRequestSyncUpdatesWhenPubSubNotifyReturnsFullPathsUpdate(TestSentryHDFSServiceProcessor.java:174)
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)