Skip to content

Commit 755647c

Browse files
committed
Remove authenticateWithApiKey from ApiKeyBackwardsCompatibilityIT.testCertificateIdentityBackwardsCompatibility UPGRADED Case
1 parent baeb233 commit 755647c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

x-pack/qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades/ApiKeyBackwardsCompatibilityIT.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,6 @@ public void testCreatingAndUpdatingApiKeys() throws Exception {
209209
public void testCertificateIdentityBackwardsCompatibility() throws Exception {
210210
switch (CLUSTER_TYPE) {
211211
case OLD -> {
212-
// Old nodes don't support certificate identity feature
213212
var exception = expectThrows(Exception.class, () -> createCrossClusterApiKeyWithCertIdentity("CN=test-.*"));
214213
assertThat(
215214
exception.getMessage(),
@@ -255,9 +254,6 @@ public void testCertificateIdentityBackwardsCompatibility() throws Exception {
255254

256255
final ObjectPath getPath = ObjectPath.createFromResponse(getResponse);
257256
assertThat(getPath.evaluate("api_keys.0.certificate_identity"), equalTo("CN=test-.*"));
258-
259-
// Verify authentication works
260-
authenticateWithApiKey(apiKey.v1(), apiKey.v2());
261257
}
262258
}
263259
}

0 commit comments

Comments
 (0)