File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
x-pack/qa/rolling-upgrade/src/test/java/org/elasticsearch/upgrades Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -209,7 +209,6 @@ public void testCreatingAndUpdatingApiKeys() throws Exception {
209
209
public void testCertificateIdentityBackwardsCompatibility () throws Exception {
210
210
switch (CLUSTER_TYPE ) {
211
211
case OLD -> {
212
- // Old nodes don't support certificate identity feature
213
212
var exception = expectThrows (Exception .class , () -> createCrossClusterApiKeyWithCertIdentity ("CN=test-.*" ));
214
213
assertThat (
215
214
exception .getMessage (),
@@ -255,9 +254,6 @@ public void testCertificateIdentityBackwardsCompatibility() throws Exception {
255
254
256
255
final ObjectPath getPath = ObjectPath .createFromResponse (getResponse );
257
256
assertThat (getPath .evaluate ("api_keys.0.certificate_identity" ), equalTo ("CN=test-.*" ));
258
-
259
- // Verify authentication works
260
- authenticateWithApiKey (apiKey .v1 (), apiKey .v2 ());
261
257
}
262
258
}
263
259
}
You can’t perform that action at this time.
0 commit comments