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

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-vfs.git


The following commit(s) were added to refs/heads/master by this push:
     new fa62c54  Trying to figure out failure on some GitHub builds.
fa62c54 is described below

commit fa62c54e6161062da0e764f35dc7fa09a40836eb
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Fri Mar 19 00:30:49 2021 -0400

    Trying to figure out failure on some GitHub builds.
---
 .../commons/vfs2/provider/sftp/AbstractSftpProviderTestCase.java       | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/sftp/AbstractSftpProviderTestCase.java
 
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/sftp/AbstractSftpProviderTestCase.java
index 2406ca4..b87e790 100644
--- 
a/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/sftp/AbstractSftpProviderTestCase.java
+++ 
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/provider/sftp/AbstractSftpProviderTestCase.java
@@ -366,7 +366,7 @@ abstract class AbstractSftpProviderTestCase extends 
AbstractProviderTestConfig {
                     int code = 0;
                     if (command.equals("id -G") || command.equals("id -u")) {
                         if (isExecChannelClosed) {
-                            throw new IOException();
+                            throw new IOException("TestingExecChannelClosed");
                         }
                         new PrintStream(out).println(0);
                     } else if (NETCAT_COMMAND.matcher(command).matches()) {
@@ -404,6 +404,7 @@ abstract class AbstractSftpProviderTestCase extends 
AbstractProviderTestConfig {
 
                 @Override
                 public void destroy() {
+                    // empty
                 }
             };
         }

Reply via email to