Nanda kumar created HDFS-12940:
----------------------------------

             Summary: Ozone: KSM: TestKeySpaceManager#testExpiredOpenKey fails 
occasionally
                 Key: HDFS-12940
                 URL: https://issues.apache.org/jira/browse/HDFS-12940
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: Nanda kumar


{{TestKeySpaceManager#testExpiredOpenKey}} is flaky.

In {{testExpiredOpenKey}} we are opening four keys for writing and wait for 
them to expire (without committing). Verification/Assertion is done by querying 
{{MiniOzoneCluster}} and matching the count. Since the {{cluster}} instance of 
{{MiniOzoneCluster}} is shared between test-cases in {{TestKeySpaceManager}}, 
we should not rely on the count. The verification should only happen by 
matching the keyNames and not with the count.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to