This is an automated email from the ASF dual-hosted git repository. buhhunyx pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/cxf.git
commit 83dfabaf8773a355a867e3aa93e30989a1bbb7ba Author: Alexey Markevich <[email protected]> AuthorDate: Fri May 22 12:35:20 2020 +0300 cxf-rt-transports-http-netty-client: speedup test --- .../apache/cxf/transport/http/netty/client/NettyHttpConduitTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rt/transports/http-netty/netty-client/src/test/java/org/apache/cxf/transport/http/netty/client/NettyHttpConduitTest.java b/rt/transports/http-netty/netty-client/src/test/java/org/apache/cxf/transport/http/netty/client/NettyHttpConduitTest.java index 70ea35b..7077842 100644 --- a/rt/transports/http-netty/netty-client/src/test/java/org/apache/cxf/transport/http/netty/client/NettyHttpConduitTest.java +++ b/rt/transports/http-netty/netty-client/src/test/java/org/apache/cxf/transport/http/netty/client/NettyHttpConduitTest.java @@ -261,7 +261,7 @@ public class NettyHttpConduitTest extends AbstractBusClientServerTestBase { @Test public void testCallAsyncCallbackInvokedOnlyOnce() throws Exception { - updateAddressPort(g, PORT_INV); + updateAddressPort(g, PORT); int repeat = 20; final AtomicInteger count = new AtomicInteger(0); for (int i = 0; i < repeat; i++) { @@ -274,7 +274,6 @@ public class NettyHttpConduitTest extends AbstractBusClientServerTestBase { } catch (Exception e) { } } - Thread.sleep(1000); assertEquals("Callback should be invoked only once per request", repeat, count.intValue()); } }
