HDDS-1307. Test ScmChillMode testChillModeOperations failed. (#622)

HDDS-1307. Test ScmChillMode testChillModeOperations failed. Contributed by Bharat Viswanadham. (#622)
This commit is contained in:
Bharat Viswanadham 2019-03-19 13:57:02 -07:00 committed by Arpit Agarwal
parent 5d8bd0e5cb
commit 1639071b05

View File

@ -41,7 +41,6 @@
import org.apache.hadoop.ozone.MiniOzoneClusterImpl; import org.apache.hadoop.ozone.MiniOzoneClusterImpl;
import org.apache.hadoop.ozone.OzoneConfigKeys; import org.apache.hadoop.ozone.OzoneConfigKeys;
import org.apache.hadoop.ozone.TestStorageContainerManagerHelper; 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.OmBucketInfo;
import org.apache.hadoop.ozone.om.helpers.OmKeyArgs; import org.apache.hadoop.ozone.om.helpers.OmKeyArgs;
import org.apache.hadoop.ozone.om.helpers.OmKeyInfo; import org.apache.hadoop.ozone.om.helpers.OmKeyInfo;
@ -178,7 +177,7 @@ public void testChillModeOperations() throws Exception {
om = miniCluster.get().getOzoneManager(); om = miniCluster.get().getOzoneManager();
LambdaTestUtils.intercept(OMException.class, LambdaTestUtils.intercept(IOException.class,
"ChillModePrecheck failed for allocateBlock", "ChillModePrecheck failed for allocateBlock",
() -> om.openKey(keyArgs)); () -> om.openKey(keyArgs));
} }