|
@@ -230,7 +230,7 @@ public class TestVolumeSet {
|
|
|
ozoneConfig.set(HDDS_DATANODE_DIR_KEY, readOnlyVolumePath.getAbsolutePath()
|
|
|
+ "," + volumePath.getAbsolutePath());
|
|
|
volSet = new VolumeSet(UUID.randomUUID().toString(), ozoneConfig);
|
|
|
- assertTrue(volSet.getFailedVolumesList().size() == 1);
|
|
|
+ assertEquals(1, volSet.getFailedVolumesList().size());
|
|
|
assertEquals(readOnlyVolumePath, volSet.getFailedVolumesList().get(0)
|
|
|
.getHddsRootDir());
|
|
|
|