Skip to content

Commit 1dae6b5

Browse files
committed
Traffic shaping option update log should use debug and not info - increase test timeout
1 parent fc4112f commit 1dae6b5

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/main/java/io/vertx/core/net/impl/TCPServerBase.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,8 @@ public void updateTrafficShapingOptions(TrafficShapingOptions options) {
171171
long maxDelayToWaitInMillis = options.getMaxDelayToWaitTimeUnit().toMillis(options.getMaxDelayToWait());
172172
trafficShapingHandler.setMaxWriteDelay(maxDelayToWaitInMillis);
173173
}
174-
}
175-
else {
176-
log.info("Not updating traffic shaping options as they have not changed");
174+
} else {
175+
log.debug("Not updating traffic shaping options as they have not changed");
177176
}
178177
}
179178
}

src/test/java/io/vertx/core/http/HttpBandwidthLimitingTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ public void start(Promise<Void> startPromise) throws Exception
270270
}));
271271
}
272272
}));
273-
awaitLatch(waitForResponse);
273+
awaitLatch(waitForResponse, 20, TimeUnit.SECONDS);
274274
long elapsedMillis = TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startTime.get());
275275
Assert.assertTrue(elapsedMillis < expectedUpperBoundTimeMillis(totalReceivedLength.get(), OUTBOUND_LIMIT));
276276
}

0 commit comments

Comments
 (0)