Skip to content

Commit 3d87341

Browse files
committed
1 parent 9fd59aa commit 3d87341

File tree

8 files changed

+10
-15
lines changed

8 files changed

+10
-15
lines changed

plugins-it/cxf-it/src/test/java/com/navercorp/pinpoint/plugin/cxf/CxfClientIT.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@
5454
@SharedTestLifeCycleClass(HttpWebServer.class)
5555
public class CxfClientIT {
5656

57-
private static String ADDRESS;
57+
private static String HOST_PORT;
5858

5959
@SharedTestBeforeAllResult
6060
public static void setBeforeAllResult(Properties beforeAllResult) {
61-
ADDRESS = beforeAllResult.getProperty("ADDRESS");
61+
HOST_PORT = beforeAllResult.getProperty("HOST_PORT");
6262
}
6363

6464
public String getAddress() {
65-
return ADDRESS;
65+
return "http://" + HOST_PORT;
6666
}
6767

6868
@Test

plugins-it/cxf-it/src/test/java/com/navercorp/pinpoint/plugin/cxf/HttpWebServer.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ public Properties beforeAll() {
1414
webServer = WebServer.newTestWebServer();
1515

1616
Properties properties = new Properties();
17-
properties.setProperty("ADDRESS", webServer.getCallHttpUrl());
1817
properties.setProperty("HOST_PORT", webServer.getHostAndPort());
1918
return properties;
2019
} catch (Exception e) {

plugins-it/httpclient3-it/src/test/java/com/navercorp/pinpoint/plugin/httpclient3/HttpClientIT.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@
4747
@SharedTestLifeCycleClass(HttpWebServer.class)
4848
public class HttpClientIT {
4949

50-
private static String ADDRESS;
50+
private static String HOST_PORT;
5151

5252
@SharedTestBeforeAllResult
5353
public static void setBeforeAllResult(Properties beforeAllResult) {
54-
ADDRESS = beforeAllResult.getProperty("ADDRESS");
54+
HOST_PORT = beforeAllResult.getProperty("HOST_PORT");
5555
}
5656

5757
public String getAddress() {
58-
return ADDRESS;
58+
return "http://" + HOST_PORT;
5959
}
6060

6161

plugins-it/httpclient3-it/src/test/java/com/navercorp/pinpoint/plugin/httpclient3/HttpWebServer.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ public Properties beforeAll() {
1414
webServer = WebServer.newTestWebServer();
1515

1616
Properties properties = new Properties();
17-
properties.setProperty("ADDRESS", webServer.getCallHttpUrl());
1817
properties.setProperty("HOST_PORT", webServer.getHostAndPort());
1918
return properties;
2019
} catch (Exception e) {

plugins-it/httpclient4-it/src/test/java/com/navercorp/pinpoint/plugin/httpclient4/HttpClientITBase.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,12 @@ public abstract class HttpClientITBase {
2727

2828
@SharedTestBeforeAllResult
2929
public static void setBeforeAllResult(Properties beforeAllResult) {
30-
ADDRESS = beforeAllResult.getProperty("ADDRESS");
3130
HOST_PORT = beforeAllResult.getProperty("HOST_PORT");
3231

3332
}
3433

3534
public String getAddress() {
36-
return ADDRESS;
35+
return "http://" + HOST_PORT;
3736
}
3837

3938
public static String getHostPort() {

plugins-it/httpclient4-it/src/test/java/com/navercorp/pinpoint/plugin/httpclient4/HttpWebServer.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ public Properties beforeAll() {
1414
webServer = WebServer.newTestWebServer();
1515

1616
Properties properties = new Properties();
17-
properties.setProperty("ADDRESS", webServer.getCallHttpUrl());
1817
properties.setProperty("HOST_PORT", webServer.getHostAndPort());
1918
return properties;
2019
} catch (Exception e) {

plugins-it/spring-it/src/test/java/com/navercorp/pinpoint/plugin/spring/web/HttpWebServer.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ public Properties beforeAll() {
1414
webServer = WebServer.newTestWebServer();
1515

1616
Properties properties = new Properties();
17-
properties.setProperty("ADDRESS", webServer.getCallHttpUrl());
1817
properties.setProperty("HOST_PORT", webServer.getHostAndPort());
1918
return properties;
2019
} catch (Exception e) {

plugins-it/spring-it/src/test/java/com/navercorp/pinpoint/plugin/spring/web/RestTemplateIT.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@
5353
@SharedTestLifeCycleClass(HttpWebServer.class)
5454
public class RestTemplateIT {
5555

56-
private static String ADDRESS;
56+
private static String HOST_PORT;
5757
@SharedTestBeforeAllResult
5858
public static void setBeforeAllResult(Properties beforeAllResult) {
59-
ADDRESS = beforeAllResult.getProperty("ADDRESS");
59+
HOST_PORT = beforeAllResult.getProperty("HOST_PORT");
6060
}
6161

6262
public static String getCallUrl() {
63-
return ADDRESS;
63+
return "http://" + HOST_PORT;
6464
}
6565

6666

0 commit comments

Comments
 (0)