Skip to content

Commit

Permalink
Fix the broken assert in the test.
Browse files Browse the repository at this point in the history
Signed-off-by: David Lanouette <David.Lanouette@RedHat.com>
  • Loading branch information
davidlanouette committed Feb 20, 2023
1 parent bf29d4d commit 4d3c3e0
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,7 @@ public void testWriteJolokiaAccessXmlCreatesValidXml() throws Exception {
c.setRelaxJolokia(relaxJolokia);
c.execute(context);

try {
isXmlValid(new File(testInstance, "etc/" + Create.ETC_JOLOKIA_ACCESS_XML));
} catch (Exception e) {
Assert.fail(testName + " should be valid, but " + e.toString());
}
Assert.assertTrue(isXmlValid(new File(testInstance, "etc/" + Create.ETC_JOLOKIA_ACCESS_XML)));
}

/**
Expand Down

0 comments on commit 4d3c3e0

Please sign in to comment.