Skip to content

Commit 296d37a

Browse files
author
Ritesh Garg
committed
Fixing issues related to sleep
1 parent 01d950a commit 296d37a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1760,7 +1760,8 @@ public void testSingleRackFailureDuringPipelineSetupMinReplicationImpossible()
17601760
DFSTestUtil.createFile(fs, new Path("/testFile"), 1024L, (short) 3, 1024L);
17611761
} catch (IOException e) {
17621762
threw = true;
1763-
} assertTrue(threw);
1763+
}
1764+
assertTrue(threw);
17641765
}
17651766
}
17661767

0 commit comments

Comments
 (0)