Skip to content

Commit

Permalink
Adjust packaging test exit code assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-vieira committed Jun 18, 2024
1 parent a6470fb commit 01f8881
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions muted-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ tests:
- class: "org.elasticsearch.xpack.shutdown.NodeShutdownReadinessIT"
issue: "https://github.com/elastic/elasticsearch/issues/109838"
method: "testShutdownReadinessService"
- class: "org.elasticsearch.packaging.test.PackageTests"
issue: "https://github.com/elastic/elasticsearch/issues/109852"

# Examples:
#
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ public void test50Remove() throws Exception {
}

assertThat(sh.runIgnoreExitCode("systemctl status elasticsearch.service").exitCode(), is(statusExitCode));
assertThat(sh.runIgnoreExitCode("systemctl is-enabled elasticsearch.service").exitCode(), is(1));
assertThat(sh.runIgnoreExitCode("systemctl is-enabled elasticsearch.service").exitCode(), not(0));

}

Expand Down

0 comments on commit 01f8881

Please sign in to comment.