HDFS-11625. Ozone: Fix UT failures that caused by hard coded datanode data dirs. Contributed by Weiwei Yang.
This commit is contained in:
parent
7573a0bc61
commit
cd361fa490
@ -62,10 +62,12 @@ public static void setup() throws IOException {
|
||||
|
||||
@AfterClass
|
||||
public static void clean() {
|
||||
if (cBlockManager != null) {
|
||||
cBlockManager.stop();
|
||||
cBlockManager.join();
|
||||
cBlockManager.clean();
|
||||
}
|
||||
}
|
||||
|
||||
@After
|
||||
public void reset() {
|
||||
|
@ -303,7 +303,6 @@ public void testDatanodeStateMachineWithInvalidSCMNames()
|
||||
for (String name : new String[] {
|
||||
"", // Empty
|
||||
"x..y", // Invalid schema
|
||||
"scm:", // Missing port
|
||||
"scm:xyz", // Invalid port
|
||||
"scm:123456" // Port out of range
|
||||
}) {
|
||||
|
Loading…
Reference in New Issue
Block a user