Skip to content

Commit

Permalink
fix log does not match
Browse files Browse the repository at this point in the history
  • Loading branch information
chickenlj committed Jul 23, 2021
1 parent 7534b83 commit 489f729
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Expand Up @@ -115,7 +115,7 @@ public ResponseFuture request(Object request, int timeout) throws RemotingExcept
private void warning(Object request) {
if (requestWithWarning) {
if (warningcount.get() % 5000 == 0) {
logger.warn(url.getAddress() + " " + url.getServiceKey() + " safeguard client get called after real client closed, recreating connection...");
logger.warn(url.getAddress() + " " + url.getServiceKey() + " safe guard client get called after real client closed, recreating connection...");
}
warningcount.incrementAndGet();
}
Expand Down
Expand Up @@ -26,7 +26,6 @@
import com.alibaba.dubbo.rpc.Exporter;
import com.alibaba.dubbo.rpc.Invoker;
import com.alibaba.dubbo.rpc.ProxyFactory;

import org.junit.Assert;
import org.junit.Before;
import org.junit.BeforeClass;
Expand All @@ -46,7 +45,7 @@ public class ReferenceCountExchangeClientTest {
IHelloService helloService;
ExchangeClient demoClient;
ExchangeClient helloClient;
String errorMsg = "safe guard client , should not be called ,must have a bug";
String errorMsg = "safe guard client";

@BeforeClass
public static void setUpBeforeClass() throws Exception {
Expand Down

0 comments on commit 489f729

Please sign in to comment.