This is an automated email from the ASF dual-hosted git repository. liujun pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-dubbo.git
The following commit(s) were added to refs/heads/master by this push: new 971d6d9 Remove usage of classes in Junit 4 971d6d9 is described below commit 971d6d9050a5e9d2de6f253d3b3c639825fc65bc Author: ken.lj <ken.lj...@gmail.com> AuthorDate: Tue Jan 22 18:47:01 2019 +0800 Remove usage of classes in Junit 4 --- .../src/test/java/org/apache/dubbo/rpc/RpcContextTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dubbo-rpc/dubbo-rpc-api/src/test/java/org/apache/dubbo/rpc/RpcContextTest.java b/dubbo-rpc/dubbo-rpc-api/src/test/java/org/apache/dubbo/rpc/RpcContextTest.java index 5698bbc..86717ef 100644 --- a/dubbo-rpc/dubbo-rpc-api/src/test/java/org/apache/dubbo/rpc/RpcContextTest.java +++ b/dubbo-rpc/dubbo-rpc-api/src/test/java/org/apache/dubbo/rpc/RpcContextTest.java @@ -17,6 +17,7 @@ package org.apache.dubbo.rpc; import org.apache.dubbo.common.URL; + import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; @@ -145,10 +146,10 @@ public class RpcContextTest { Assertions.assertFalse(rpcContext.isAsyncStarted()); AsyncContext asyncContext = RpcContext.startAsync(); - Assert.assertTrue(rpcContext.isAsyncStarted()); + Assertions.assertTrue(rpcContext.isAsyncStarted()); asyncContext.write(new Object()); - Assert.assertTrue(((AsyncContextImpl)asyncContext).getInternalFuture().isDone()); + Assertions.assertTrue(((AsyncContextImpl)asyncContext).getInternalFuture().isDone()); rpcContext.stopAsync(); Assertions.assertTrue(rpcContext.isAsyncStarted());