Skip to content

Commit 0024fc4

Browse files
committed
chore(test): 新增 DefResponseFutureManager.reset() 调用
1 parent 055b1cb commit 0024fc4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • trpc-proto/trpc-proto-standard/src/test/java/com/tencent/trpc/proto/standard/common

trpc-proto/trpc-proto-standard/src/test/java/com/tencent/trpc/proto/standard/common/TRpcServerTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,7 @@ public void testCommonMethod() {
465465
public void testDefaultMethod() {
466466
HelloRequest.Builder builder = HelloRequest.newBuilder();
467467
builder.setMessage(ByteString.copyFromUtf8("hello"));
468+
DefResponseFutureManager.reset();
468469
HelloServiceApi serviceApi = helloClientConfig.getProxy();
469470
HelloResponse response = serviceApi.doDefaultMethod(new RpcClientContext(), builder.build());
470471
Assert.assertEquals(response.getMessage().toStringUtf8(), "this is default method");

0 commit comments

Comments
 (0)