Skip to content

Commit

Permalink
Fix NPE in ServerOverlayConfigurationTest
Browse files Browse the repository at this point in the history
  • Loading branch information
tristantarrant committed Sep 13, 2021
1 parent 7e15e56 commit 5db0805
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -23,6 +23,7 @@ public class ServerOverlayConfigurationTest {
public void testOverlay() {
Properties properties = new Properties();
properties.put(Server.INFINISPAN_SERVER_CONFIG_PATH, getConfigPath().toString());
properties.put(Server.INFINISPAN_SERVER_HOME_PATH, getConfigPath().toString());
Server server = new Server(getConfigPath().toFile(), Arrays.asList(Paths.get("Base.xml"), Paths.get("Overlay.yml")), properties);
ConfigurationBuilderHolder holder = server.getConfigurationBuilderHolder();
assertTrue(holder.getNamedConfigurationBuilders().containsKey("overlay"));
Expand Down

0 comments on commit 5db0805

Please sign in to comment.