From 1639071b054d120d8b99f34b4deed837d3afa11f Mon Sep 17 00:00:00 2001 From: Bharat Viswanadham Date: Tue, 19 Mar 2019 13:57:02 -0700 Subject: [PATCH] HDDS-1307. Test ScmChillMode testChillModeOperations failed. (#622) HDDS-1307. Test ScmChillMode testChillModeOperations failed. Contributed by Bharat Viswanadham. (#622) --- .../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 0f8ac08432..e66532f430 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.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 void testChillModeOperations() throws Exception { om = miniCluster.get().getOzoneManager(); - LambdaTestUtils.intercept(OMException.class, + LambdaTestUtils.intercept(IOException.class, "ChillModePrecheck failed for allocateBlock", () -> om.openKey(keyArgs)); }