zk1510 commented on code in PR #4691:
URL: https://github.com/apache/incubator-inlong/pull/4691#discussion_r899853944


##########
inlong-agent/agent-common/src/test/java/org/apache/inlong/agent/common/TestAgentUtils.java:
##########
@@ -84,4 +84,9 @@ public void testTimeConvertToMillsec() {
         Assert.assertEquals(1620374040000L, 
AgentUtils.timeStrConvertToMillSec("202105071554", "M"));
     }
 
+    @Test
+    public void testFetchLocalIp() {
+        Assert.assertNotEquals("127.0.0.1",AgentUtils.fetchLocalIp());

Review Comment:
   it's suggested to add a blank before the second parameter



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to