You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2013/09/12 06:51:51 UTC
[jira] [Updated] (HBASE-9515) Intermittent
TestZKSecretWatcher#testKeyUpdate failure
[ https://issues.apache.org/jira/browse/HBASE-9515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Yu updated HBASE-9515:
--------------------------
Attachment: 9515-v1.txt
Making the wait a bit longer so that slave has time to get notification and remove key1.
> Intermittent TestZKSecretWatcher#testKeyUpdate failure
> ------------------------------------------------------
>
> Key: HBASE-9515
> URL: https://issues.apache.org/jira/browse/HBASE-9515
> Project: HBase
> Issue Type: Test
> Reporter: Ted Yu
> Assignee: Ted Yu
> Priority: Minor
> Attachments: 9515-v1.txt
>
>
> From https://builds.apache.org/job/hbase-0.96-hadoop2/19/testReport/org.apache.hadoop.hbase.security.token/TestZKSecretWatcher/testKeyUpdate/ :
> {code}
> java.lang.AssertionError: expected null, but was:<AuthenticationKey[ id=2, expiration=9223372036854775807 ]>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotNull(Assert.java:664)
> at org.junit.Assert.assertNull(Assert.java:646)
> at org.junit.Assert.assertNull(Assert.java:656)
> at org.apache.hadoop.hbase.security.token.TestZKSecretWatcher.testKeyUpdate(TestZKSecretWatcher.java:149)
> {code}
> It failed here:
> {code}
> // verify that the expired key has been removed
> assertNull(KEY_SLAVE.getKey(key1.getKeyId()));
> {code}
> Normally key1 should be removed by AuthenticationTokenSecretManager#removeKey():
> {code}
> allKeys.remove(keyId);
> {code}
> A search in the test output for 'Removing key ' yielded nothing.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira