HDDS-1307. Test ScmChillMode testChillModeOperations failed. (#622)
HDDS-1307. Test ScmChillMode testChillModeOperations failed. Contributed by Bharat Viswanadham. (#622)
This commit is contained in:
parent
5d8bd0e5cb
commit
1639071b05
|
@ -41,7 +41,6 @@ import org.apache.hadoop.ozone.MiniOzoneCluster;
|
||||||
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 class TestScmChillMode {
|
||||||
|
|
||||||
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));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue