Skip to content

Commit 55dd2a7

Browse files
Address review comment
1 parent e42754e commit 55dd2a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertResponse;
2626

2727
// TODO: Move this test to the Serverless repo once the IT framework is ready there.
28-
public class CpsClusterStatsShouldNotExposeSkipUnavailableIT extends AbstractMultiClustersTestCase {
28+
public class ServerlessClusterStatsShouldNotExposeSkipUnavailableIT extends AbstractMultiClustersTestCase {
2929
private static final String LINKED_CLUSTER_1 = "cluster-a";
3030

3131
public static class CpsPlugin extends Plugin implements ClusterPlugin {
@@ -64,7 +64,7 @@ public void testSkipUnavailableShouldNotBeExposed() throws Exception {
6464
assertResponse(
6565
client().execute(TransportClusterStatsAction.TYPE, new ClusterStatsRequest(/* Do include remotes */ true)),
6666
result -> {
67-
// In CPS environment, skip_unavailable should map to `Optional.empty()`.
67+
// In the Serverless environment, skip_unavailable should map to `Optional.empty()`.
6868
assertThat(result.getRemoteClustersStats().get(LINKED_CLUSTER_1).skipUnavailable(), Matchers.is(Optional.empty()));
6969
// When this result is serialised to JSON, it should not mention `skip_unavailable`.
7070
assertThat(result.toString().contains("skip_unavailable"), Matchers.is(false));

0 commit comments

Comments
 (0)