HDFS-17000. Fix faulty loop condition in TestDFSStripedOutputStreamUpdatePipeline (#5699). Contributed by Marcono1234.
Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
This commit is contained in:
parent
124313d215
commit
9acf462d26
@ -45,7 +45,7 @@ public void testDFSStripedOutputStreamUpdatePipeline() throws Exception {
|
||||
Path filePath = new Path("/test/file");
|
||||
FSDataOutputStream out = dfs.create(filePath);
|
||||
try {
|
||||
for (int i = 0; i < Long.MAX_VALUE; i++) {
|
||||
for (int i = 0; i < Integer.MAX_VALUE; i++) {
|
||||
out.write(i);
|
||||
if (i == 1024 * 1024 * 5) {
|
||||
cluster.stopDataNode(0);
|
||||
|
Loading…
Reference in New Issue
Block a user