Skip to content

Commit

Permalink
Mute all tests in CertGenCliTests (elastic#99192)
Browse files Browse the repository at this point in the history
  • Loading branch information
romseygeek authored Sep 5, 2023
1 parent c9a2555 commit 2a30a96
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,13 @@ public void test10Install() throws Exception {
ServerUtils.disableSecurityAutoConfiguration(installation);
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/99153")
public void test20Help() {
Shell.Result result = installation.executables().certgenTool.run("--help");
assertThat(result.stdout(), containsString("Simplifies certificate creation"));
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/99153")
public void test30Generate() throws Exception {
final List<String> lines = new ArrayList<>();
lines.add("instances:");
Expand All @@ -73,6 +75,7 @@ public void test30Generate() throws Exception {
assertThat(certificatesFile, file(File, owner, owner, p600));
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/99153")
public void test31ExtractCerts() throws Exception {
// windows 2012 r2 has powershell 4.0, which lacks Expand-Archive
assumeFalse(Platforms.OS_NAME.equals("Windows Server 2012 R2"));
Expand All @@ -91,6 +94,7 @@ public void test31ExtractCerts() throws Exception {
FileUtils.cp(certsDir, installation.config("certs"));
}

@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/99153")
public void test40RunWithCert() throws Exception {
// windows 2012 r2 has powershell 4.0, which lacks Expand-Archive
assumeFalse(Platforms.OS_NAME.equals("Windows Server 2012 R2"));
Expand Down

0 comments on commit 2a30a96

Please sign in to comment.