File tree Expand file tree Collapse file tree 1 file changed +1
-24
lines changed
src/test/java/org/apache/hadoop/fs/test/unit Expand file tree Collapse file tree 1 file changed +1
-24
lines changed Original file line number Diff line number Diff line change @@ -71,29 +71,6 @@ public void tearDown() throws Exception {
71
71
fs .delete (getTestRootPath (fs , "test" ),true );
72
72
}
73
73
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
-
97
74
@ org .junit .Test
98
75
public void testTolerantMkdirs () throws Exception {
99
76
Path longPath =new Path ("a/b/c/d" );
@@ -384,4 +361,4 @@ public void testPermissionsChanging() throws Exception{
384
361
385
362
}
386
363
387
- }
364
+ }
You can’t perform that action at this time.
0 commit comments