Skip to content

Commit fc64d17

Browse files
committed
remove old test
1 parent b1e6e90 commit fc64d17

File tree

1 file changed

+1
-24
lines changed

1 file changed

+1
-24
lines changed

src/test/java/org/apache/hadoop/fs/test/unit/HcfsFileSystemTest.java

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -71,29 +71,6 @@ public void tearDown() throws Exception {
7171
fs.delete(getTestRootPath(fs, "test"),true);
7272
}
7373

74-
@Test
75-
public void testBufferSpill() throws Exception {
76-
Path out = new Path("a");
77-
78-
FSDataOutputStream os = fs.create(out);
79-
80-
int written=0;
81-
/**
82-
* Assert that writes smaller than 10KB are NOT spilled to disk
83-
*/
84-
while(written<10000){
85-
os.write("ASDF".getBytes());
86-
written+="ASDF".getBytes().length;
87-
//now, we expect
88-
Assert.assertTrue("asserting that file not written yet",fs.getLength(out)==0);
89-
}
90-
os.flush();
91-
Assert.assertTrue("asserting that file not written yet",fs.getLength(out)>=10000);
92-
93-
os.close();
94-
fs.delete(out);
95-
}
96-
9774
@org.junit.Test
9875
public void testTolerantMkdirs() throws Exception{
9976
Path longPath=new Path("a/b/c/d");
@@ -384,4 +361,4 @@ public void testPermissionsChanging() throws Exception{
384361

385362
}
386363

387-
}
364+
}

0 commit comments

Comments
 (0)