Fix for issue #2765 relative to unstable trafficshaping test procedure
Motivation: The test procedure is unstable due to not enough precise timestamping during the check. Modifications: Reducing the test cases and cibling "stable" test ("timestamp-able") bring more stability to the tests. Result: Tests for TrafficShapingHandler seem more stable (whatever using JVM 6, 7 or 8). Renaming to: src/test/java/org/jboss/netty/handler/traffic/TrafficShapingHandlerTest.java
This commit is contained in:
parent
ad75ee5550
commit
0258772deb
@ -53,8 +53,8 @@ import java.util.concurrent.atomic.AtomicReference;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
public class TrafficShapingTest {
|
||||
private static final InternalLogger logger = InternalLoggerFactory.getInstance(TrafficShapingTest.class);
|
||||
public class TrafficShapingHandlerTest {
|
||||
private static final InternalLogger logger = InternalLoggerFactory.getInstance(TrafficShapingHandlerTest.class);
|
||||
private static final InternalLogger loggerServer = InternalLoggerFactory.getInstance("ServerTSH");
|
||||
private static final InternalLogger loggerClient = InternalLoggerFactory.getInstance("ClientTSH");
|
||||
|
Loading…
Reference in New Issue
Block a user