Skip to content

Commit 90a31d9

Browse files
committed
fix: replace test.com link in UT
Signed-off-by: Kyle Hounslow <kylhouns@amazon.com>
1 parent 4246f39 commit 90a31d9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

prometheus/src/test/java/org/opensearch/sql/prometheus/storage/PrometheusStorageFactoryTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ void testGetStorageEngineWithWrongAuthType() {
130130
.thenReturn(Collections.emptyList());
131131
PrometheusStorageFactory prometheusStorageFactory = new PrometheusStorageFactory(settings);
132132
HashMap<String, String> properties = new HashMap<>();
133-
properties.put("prometheus.uri", "https://test.com");
133+
properties.put("prometheus.uri", "https://opensearch.org");
134134
properties.put("prometheus.auth.type", "random");
135135
properties.put("prometheus.auth.region", "us-east-1");
136136
properties.put("prometheus.auth.secret_key", "accessKey");
@@ -150,7 +150,7 @@ void testGetStorageEngineWithNONEAuthType() {
150150
.thenReturn(Collections.emptyList());
151151
PrometheusStorageFactory prometheusStorageFactory = new PrometheusStorageFactory(settings);
152152
HashMap<String, String> properties = new HashMap<>();
153-
properties.put("prometheus.uri", "https://test.com");
153+
properties.put("prometheus.uri", "https://opensearch.org");
154154
StorageEngine storageEngine = prometheusStorageFactory.getStorageEngine(properties);
155155
Assertions.assertTrue(storageEngine instanceof PrometheusStorageEngine);
156156
}

0 commit comments

Comments
 (0)