You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2020/05/17 02:03:20 UTC

[maven-shared-utils] branch files-copy-failure-on-jenkins updated: more debug

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

olamy pushed a commit to branch files-copy-failure-on-jenkins
in repository https://gitbox.apache.org/repos/asf/maven-shared-utils.git


The following commit(s) were added to refs/heads/files-copy-failure-on-jenkins by this push:
     new e66b589  more debug
e66b589 is described below

commit e66b5891ee7e3eed2306e6e3ca18636fa29376b8
Author: olivier lamy <ol...@apache.org>
AuthorDate: Sun May 17 11:55:57 2020 +1000

    more debug
    
    Signed-off-by: olivier lamy <ol...@apache.org>
---
 src/test/java/org/apache/maven/shared/utils/io/FileUtilsTest.java | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/test/java/org/apache/maven/shared/utils/io/FileUtilsTest.java b/src/test/java/org/apache/maven/shared/utils/io/FileUtilsTest.java
index e88e926..5b2ce5a 100644
--- a/src/test/java/org/apache/maven/shared/utils/io/FileUtilsTest.java
+++ b/src/test/java/org/apache/maven/shared/utils/io/FileUtilsTest.java
@@ -504,6 +504,10 @@ public class FileUtilsTest
 
         FileUtils.copyFile( source, destination );
 
+        assertThat( "destination not exists: " + destination.getAbsolutePath()
+                        + ", directory content: " + Arrays.asList( destination.getParentFile().list() ),
+                    Files.exists( destination.toPath() ), is( true ) );
+
         assertThat( "Check copy executable: " + Files.getPosixFilePermissions( destination.toPath()),
                     destination.canExecute(), is( true ) );
     }