hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-9515) Intermittent TestZKSecretWatcher#testKeyUpdate failure
Date Thu, 12 Sep 2013 04:51:51 GMT

     [ 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

Mime
View raw message