You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuweni.apache.org by to...@apache.org on 2020/05/07 05:00:19 UTC

[incubator-tuweni] branch master updated: more output on integration test

This is an automated email from the ASF dual-hosted git repository.

toulmean pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tuweni.git


The following commit(s) were added to refs/heads/master by this push:
     new 80bc84f  more output on integration test
80bc84f is described below

commit 80bc84fe9cc9ee7c61f4c5854c7a32371ef37401
Author: Antoine Toulme <an...@lunar-ocean.com>
AuthorDate: Wed May 6 22:00:00 2020 -0700

    more output on integration test
---
 .../java/org/apache/tuweni/dist/DistributionTest.java                | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dist/src/integrationTest/java/org/apache/tuweni/dist/DistributionTest.java b/dist/src/integrationTest/java/org/apache/tuweni/dist/DistributionTest.java
index 6184508..43b3276 100644
--- a/dist/src/integrationTest/java/org/apache/tuweni/dist/DistributionTest.java
+++ b/dist/src/integrationTest/java/org/apache/tuweni/dist/DistributionTest.java
@@ -46,7 +46,10 @@ class DistributionTest {
   void testZipFileContents() throws IOException {
     Map<String, Set<String>> dupes = new HashMap<>();
     boolean foundOneZipFile = false;
-    for (File archive : distributionsFolder().toFile().listFiles()) {
+    Path distFolder = distributionsFolder();
+    File distFolderFile = distFolder.toFile();
+    assertTrue(distFolderFile.exists(), distFolder.toAbsolutePath() + " doesn't exist");
+    for (File archive : distFolderFile.listFiles()) {
       if (archive.getName().endsWith(".zip")) {
         foundOneZipFile = true;
         Set<String> duplicates = new HashSet<>();


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tuweni.apache.org
For additional commands, e-mail: commits-help@tuweni.apache.org