@@ -58,16 +58,18 @@ public class ConfigOverridesIT extends PerformanceAnalyzerIntegTestBase {
5858
5959 @ Test
6060 public void testSimpleOverride () throws Exception {
61- testSimpleOverride (CONFIG_OVERRIDES_ENDPOINT );
61+ testSimpleOverride (RestConfig . PA_BASE_URI , CONFIG_OVERRIDES_ENDPOINT );
6262 }
6363
6464 @ Test
6565 public void testLegacySimpleOverride () throws Exception {
66- testSimpleOverride (LEGACY_OPENDISTRO_CONFIG_OVERRIDES_ENDPOINT );
66+ testSimpleOverride (
67+ RestConfig .LEGACY_PA_BASE_URI , LEGACY_OPENDISTRO_CONFIG_OVERRIDES_ENDPOINT );
6768 }
6869
69- public void testSimpleOverride (String configOverridesEndpoint ) throws Exception {
70- ensurePaAndRcaEnabled (configOverridesEndpoint );
70+ public void testSimpleOverride (String paBaseUri , String configOverridesEndpoint )
71+ throws Exception {
72+ ensurePaAndRcaEnabled (paBaseUri );
7173 final ConfigOverrides overrides =
7274 getOverrides (
7375 Arrays .asList (HOT_SHARD_RCA , HOT_NODE_CLUSTER_RCA ),
@@ -106,16 +108,18 @@ public void testSimpleOverride(String configOverridesEndpoint) throws Exception
106108
107109 @ Test
108110 public void testCompositeOverrides () throws Exception {
109- testCompositeOverrides (CONFIG_OVERRIDES_ENDPOINT );
111+ testCompositeOverrides (RestConfig . PA_BASE_URI , CONFIG_OVERRIDES_ENDPOINT );
110112 }
111113
112114 @ Test
113115 public void testLegacyCompositeOverrides () throws Exception {
114- testCompositeOverrides (LEGACY_OPENDISTRO_CONFIG_OVERRIDES_ENDPOINT );
116+ testCompositeOverrides (
117+ RestConfig .LEGACY_PA_BASE_URI , LEGACY_OPENDISTRO_CONFIG_OVERRIDES_ENDPOINT );
115118 }
116119
117- public void testCompositeOverrides (String configOverridesEndpoint ) throws Exception {
118- ensurePaAndRcaEnabled (configOverridesEndpoint );
120+ public void testCompositeOverrides (String paBaseUri , String configOverridesEndpoint )
121+ throws Exception {
122+ ensurePaAndRcaEnabled (paBaseUri );
119123
120124 final ConfigOverrides initialOverrides =
121125 getOverrides (
0 commit comments