Skip to content

Commit 1f954c4

Browse files
committed
Simplify Http2ClientTest#testConnectionWindowSize
1 parent bc22a33 commit 1f954c4

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

vertx-core/src/test/java/io/vertx/tests/http/Http2ClientTest.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2006,16 +2006,6 @@ private void testMaxConcurrency(int poolSize, int maxConcurrency) throws Excepti
20062006
@Test
20072007
public void testConnectionWindowSize() throws Exception {
20082008
ServerBootstrap bootstrap = createH2Server((decoder, encoder) -> new Http2EventAdapter() {
2009-
@Override
2010-
public void onSettingsRead(ChannelHandlerContext ctx, Http2Settings settings) throws Http2Exception {
2011-
super.onSettingsRead(ctx, settings);
2012-
vertx.runOnContext(v -> {
2013-
if (settings.initialWindowSize() != null) {
2014-
assertEquals(65535, (int)settings.initialWindowSize());
2015-
testComplete();
2016-
}
2017-
});
2018-
}
20192009
@Override
20202010
public void onWindowUpdateRead(ChannelHandlerContext ctx, int streamId, int windowSizeIncrement) {
20212011
vertx.runOnContext(v -> {

0 commit comments

Comments
 (0)