Made test more reliable.

This commit is contained in:
Simone Bordet 2015-04-14 22:18:45 +02:00
parent fd158a231b
commit 0360b1cc5b
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ public class StreamCloseTest extends AbstractTest
@Override
public void succeeded()
{
Assert.assertTrue(((HTTP2Stream)stream).isLocallyClosed());
// Here the stream may be just locally closed or fully closed.
clientDataLatch.countDown();
}
});