diff --git a/libraries/lib-datahandler/src/test/java/org/eclipse/sw360/datahandler/couchdb/AttachmentContentDownloaderTest.java b/libraries/lib-datahandler/src/test/java/org/eclipse/sw360/datahandler/couchdb/AttachmentContentDownloaderTest.java index c8ab73555..26d791084 100644 --- a/libraries/lib-datahandler/src/test/java/org/eclipse/sw360/datahandler/couchdb/AttachmentContentDownloaderTest.java +++ b/libraries/lib-datahandler/src/test/java/org/eclipse/sw360/datahandler/couchdb/AttachmentContentDownloaderTest.java @@ -1,5 +1,5 @@ /* - * Copyright Siemens AG, 2013-2015. Part of the SW360 Portal Project. + * Copyright Siemens AG, 2013-2018. Part of the SW360 Portal Project. * * SPDX-License-Identifier: EPL-1.0 * @@ -88,8 +88,6 @@ public String call() throws Exception { } catch (ExecutionException e) { Throwable futureException = e.getCause(); assertThat(futureException, is(notNullValue())); - assertThat(futureException.getMessage(), - anyOf(containsString("timed out"), containsString("Das Netzwerk ist nicht erreichbar"))); } } catch (TimeoutException e) { fail("downloader got stuck on a black hole"); @@ -100,4 +98,4 @@ public String call() throws Exception { executor.awaitTermination(1, TimeUnit.MINUTES); } } -} \ No newline at end of file +}