Skip to content

Commit 09695de

Browse files
committed
Fix failing LicensingDocumentationIT test (#43533)
This PR brings corrections for cluster name after migrating to testclusters. Not sure how this slipped trough the cracks when converting. Closes #43504
1 parent 970e157 commit 09695de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/rest-high-level/src/test/java/org/elasticsearch/client/documentation/LicensingDocumentationIT.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ public void testGetLicense() throws Exception {
194194
//end::get-license-response
195195

196196
assertThat(currentLicense, containsString("trial"));
197-
assertThat(currentLicense, containsString("client_rest-high-level_integTestCluster"));
197+
assertThat(currentLicense, containsString("integTest"));
198198
}
199199
{
200200
GetLicenseRequest request = new GetLicenseRequest();
@@ -233,7 +233,7 @@ public void onFailure(Exception e) {
233233
String currentLicense = response.getLicenseDefinition();
234234
assertThat(currentLicense, startsWith("{"));
235235
assertThat(currentLicense, containsString("trial"));
236-
assertThat(currentLicense, containsString("client_rest-high-level_integTestCluster"));
236+
assertThat(currentLicense, containsString("integTest"));
237237
assertThat(currentLicense, endsWith("}"));
238238
}
239239
}

0 commit comments

Comments
 (0)