From da4dd19a5f27e76acd4ce92e44dc979fd258355d Mon Sep 17 00:00:00 2001 From: Rob Rudin Date: Sun, 20 Nov 2016 18:05:41 -0500 Subject: [PATCH] Fixing test port number --- .../marklogic/client/modulesloader/impl/LoadModulesTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/java/com/marklogic/client/modulesloader/impl/LoadModulesTest.java b/src/test/java/com/marklogic/client/modulesloader/impl/LoadModulesTest.java index a1c3246e4..7a6ea526d 100644 --- a/src/test/java/com/marklogic/client/modulesloader/impl/LoadModulesTest.java +++ b/src/test/java/com/marklogic/client/modulesloader/impl/LoadModulesTest.java @@ -25,7 +25,7 @@ public class LoadModulesTest extends Assert { private XccStaticChecker staticChecker; private String host = "localhost"; - private int port = 8123; + private int port = 8000; private String username = "admin"; private String password = "admin"; private String database = "Modules"; @@ -76,6 +76,7 @@ public void staticCheckAndCheckLibraryModules() { modulesLoader.loadModules(dir, new DefaultModulesFinder(), client); fail("The load should have failed because of the bad library module"); } catch (RuntimeException ex) { + System.out.println(ex.getMessage()); assertTrue(ex.getMessage().contains("Static check failed for module at URI: /ext/bad-lib.xqy")); assertTrue(ex.getMessage().contains("in /ext/bad-lib.xqy, on line 7")); }