Relates #50964
This commit is contained in:
parent
2bb7b53e41
commit
263083b882
|
@ -9,6 +9,7 @@ package org.elasticsearch.xpack.security.cli;
|
|||
import com.google.common.jimfs.Configuration;
|
||||
import com.google.common.jimfs.Jimfs;
|
||||
import joptsimple.OptionSet;
|
||||
import org.apache.lucene.util.Constants;
|
||||
import org.bouncycastle.asn1.DERIA5String;
|
||||
import org.bouncycastle.asn1.DEROctetString;
|
||||
import org.bouncycastle.asn1.DERSequence;
|
||||
|
@ -536,6 +537,7 @@ public class HttpCertificateCommandTests extends ESTestCase {
|
|||
}
|
||||
|
||||
public void testTextFileSubstitutions() throws Exception {
|
||||
assumeFalse("https://github.com/elastic/elasticsearch/issues/50964", Constants.WINDOWS);
|
||||
CheckedBiFunction<String, Map<String, String>, String, Exception> copy = (source, subs) -> {
|
||||
try (InputStream in = new ByteArrayInputStream(source.getBytes(StandardCharsets.UTF_8));
|
||||
StringWriter out = new StringWriter();
|
||||
|
|
Loading…
Reference in New Issue