Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.1
-
None
-
Maven 3.2.5, Java 7u76, Windows 7 (x64, german)
Description
While trying some test cases with external servers I noticed that LastModfifiedTest is calling setLastModified and getLastModified and then compares the delta. However since the default cache mode is on resolve and there is no resolve or refresh in between, it only compares the stale in memory representation.
So I went on and added refresh() to the actual checks. This made the sftp file system fail. After some checking I noticed, that the Apache Mina SSHD (0.8) which we are using is actually not implementing it.
org.apache.sshd.server.sftp.SftpSubsystem
{code } case SSH_FXP_SETSTAT:
case SSH_FXP_FSETSTAT:
I think newer mina versions do support this function, so we need to migrate the internal test server to this version before we can actually enable the refresh().