[ https://issues.apache.org/jira/browse/HDFS-12793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16245245#comment-16245245 ]
Chen Liang commented on HDFS-12793: ----------------------------------- The fail of the three tests were all caused by closing a container first, then check the status of the container, and found out the container is still in open status. (in {{ContainerMapping#closeContainer}}). The reason seems that in {{updateContainerState}}, after updating the container status, it should return {{updatedContainer.getState();}} instead of the original state. > Ozone : TestSCMCli is failing consistently > ------------------------------------------ > > Key: HDFS-12793 > URL: https://issues.apache.org/jira/browse/HDFS-12793 > Project: Hadoop HDFS > Issue Type: Bug > Components: ozone > Reporter: Chen Liang > Assignee: Chen Liang > Attachments: HDFS-12793-HDFS-7240.001.patch > > > In the Jenkins build of HDFS-12787 and HDFS-12758, there are same three tests > in {{TestSCMCli}} that failed: {{testCloseContainer}}, > {{testDeleteContainer}} and {{testInfoContainer}}. I tested locally, these > three tests have been failing consistently. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org