File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
core/src/test/java/io/undertow/server Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 3131import org .apache .http .HttpResponse ;
3232import org .apache .http .client .methods .HttpGet ;
3333import org .junit .Assert ;
34- import org .junit .Ignore ;
3534import org .junit .Test ;
3635import org .junit .runner .RunWith ;
3736import org .xnio .ChannelListener ;
4746 */
4847@ RunWith (DefaultServer .class )
4948@ HttpOneOnly
50- @ Ignore ("UNDERTOW-1859 this test freezes" ) //FIXME
49+ // @Ignore("UNDERTOW-1859 this test freezes") //FIXME
5150public class WriteTimeoutTestCase {
5251
5352 private volatile Exception exception ;
@@ -92,12 +91,10 @@ public void handleEvent(final Channel channel) {
9291 do {
9392 try {
9493 int res = response .write (buffer );
95- if (res == 0 ) {
96- return ;
97- }
9894 } catch (IOException e ) {
9995 exception = e ;
10096 errorLatch .countDown ();
97+ break ;
10198 }
10299 if (!buffer .hasRemaining ()) {
103100 count ++;
You can’t perform that action at this time.
0 commit comments