You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix string replacement in certutil http test (#69404)
This test had 2 issues:
1. It performed a replacement using a string literal on a randomly
generated string. It is possible that the filename had ".csr"
somewhere in the basename, which would then produce incorrect results
2. It used the wrong base file for the substitution (key vs csr).
This fixes the bug by using an index based replacement rather than a
textual one.
Backport of: #69319
Copy file name to clipboardExpand all lines: x-pack/plugin/security/cli/src/test/java/org/elasticsearch/xpack/security/cli/HttpCertificateCommandTests.java
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -185,10 +185,11 @@ public void testGenerateSingleCertificateSigningRequest() throws Exception {
0 commit comments