You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ar...@apache.org on 2019/03/19 20:58:45 UTC

[hadoop] branch ozone-0.4 updated: HDDS-1307. Test ScmChillMode testChillModeOperations failed. (#622)

This is an automated email from the ASF dual-hosted git repository.

arp pushed a commit to branch ozone-0.4
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/ozone-0.4 by this push:
     new 3edb697  HDDS-1307. Test ScmChillMode testChillModeOperations failed. (#622)
3edb697 is described below

commit 3edb697a37bfc0bcdd43af6101d286f95e3db0c7
Author: Bharat Viswanadham <bh...@apache.org>
AuthorDate: Tue Mar 19 13:57:02 2019 -0700

    HDDS-1307. Test ScmChillMode testChillModeOperations failed. (#622)
    
    HDDS-1307. Test ScmChillMode testChillModeOperations failed. Contributed by Bharat Viswanadham. (#622)
    
    (cherry picked from commit 1639071b054d120d8b99f34b4deed837d3afa11f)
---
 .../src/test/java/org/apache/hadoop/ozone/om/TestScmChillMode.java     | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestScmChillMode.java b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestScmChillMode.java
index 8e11a66..6863401 100644
--- a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestScmChillMode.java
+++ b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestScmChillMode.java
@@ -41,7 +41,6 @@ import org.apache.hadoop.ozone.MiniOzoneCluster;
 import org.apache.hadoop.ozone.MiniOzoneClusterImpl;
 import org.apache.hadoop.ozone.OzoneConfigKeys;
 import org.apache.hadoop.ozone.TestStorageContainerManagerHelper;
-import org.apache.hadoop.ozone.om.exceptions.OMException;
 import org.apache.hadoop.ozone.om.helpers.OmBucketInfo;
 import org.apache.hadoop.ozone.om.helpers.OmKeyArgs;
 import org.apache.hadoop.ozone.om.helpers.OmKeyInfo;
@@ -178,7 +177,7 @@ public class TestScmChillMode {
 
     om = miniCluster.get().getOzoneManager();
 
-    LambdaTestUtils.intercept(OMException.class,
+    LambdaTestUtils.intercept(IOException.class,
         "ChillModePrecheck failed for allocateBlock",
         () -> om.openKey(keyArgs));
   }


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org