Skip to content

Commit

Permalink
[WFCORE-7003] Move back to admin only a YamlExtensionTestCase test
Browse files Browse the repository at this point in the history
  • Loading branch information
yersan committed Sep 25, 2024
1 parent 210706e commit c3c150b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,8 @@ public void testSimpleYamlWithCliBootOps() throws Exception {

@Test
public void testYamlChangesAppliedInAdminOnlyModeWithoutBootCliScript() throws Exception {
container.start(null, null, Server.StartMode.NORMAL, System.out, false, null, null, null, null, new Path[]{testYaml});
AssumeTestGroupUtil.assumeNotBootableJar();
container.start(null, null, Server.StartMode.ADMIN_ONLY, System.out, false, null, null, null, null, new Path[]{testYaml});
Assert.assertEquals("Yaml changes to configuration were persisted to xml. This should never happen as it's in read-only mode.", expectedXml, readConfigAsXml());
}

Expand Down

0 comments on commit c3c150b

Please sign in to comment.