diff --git a/src/main/java/org/globalbioticinteractions/elton/cmd/StreamingNamespaceConfigHandler.java b/src/main/java/org/globalbioticinteractions/elton/cmd/StreamingNamespaceConfigHandler.java index 8e17700..229342f 100644 --- a/src/main/java/org/globalbioticinteractions/elton/cmd/StreamingNamespaceConfigHandler.java +++ b/src/main/java/org/globalbioticinteractions/elton/cmd/StreamingNamespaceConfigHandler.java @@ -45,7 +45,7 @@ public StreamingNamespaceConfigHandler(JsonNode jsonNode, @Override public void onNamespace(String namespace) throws Exception { - stderr.println("tracking [" + namespace + "]..."); + stderr.print("tracking [" + namespace + "]..."); CacheFactory cacheFactory = CmdUtil.createCacheFactory( namespace, cacheDir, diff --git a/src/test/java/org/globalbioticinteractions/elton/store/CachePullThroughPrestonStoreTest.java b/src/test/java/org/globalbioticinteractions/elton/store/CachePullThroughPrestonStoreTest.java index 1444d77..e2fec9c 100644 --- a/src/test/java/org/globalbioticinteractions/elton/store/CachePullThroughPrestonStoreTest.java +++ b/src/test/java/org/globalbioticinteractions/elton/store/CachePullThroughPrestonStoreTest.java @@ -85,7 +85,7 @@ public void testPrestonStore() throws IOException, URISyntaxException { } - @Test(expected = FileNotFoundException.class) + @Test(expected = IOException.class) public void testMissingFromPrestonStore() throws IOException, URISyntaxException { Cache cache = new CachePullThroughPrestonStore(