Skip to content

Commit

Permalink
Add comment to explain the extra test check for FIPS
Browse files Browse the repository at this point in the history
  • Loading branch information
ywangd committed Mar 3, 2021
1 parent 79d930b commit af97090
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ public void testTemplateExists() throws IOException {
builder.endObject();

Request request = new Request("PUT", "/_template/template");
// The warnings only need to be checked in FIPS mode because we run default distribution for FIPS,
// while the integ-test distribution is used otherwise.
if (inFipsJvm()) {
request.setOptions(expectWarnings(
"legacy template [template] has index patterns [*] matching patterns from existing composable templates " +
Expand Down

0 comments on commit af97090

Please sign in to comment.