Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overridden copyFrom in SshSftpFile (Fixes #164) #165

Merged
merged 1 commit into from
Oct 9, 2015
Merged

Conversation

hierynomus
Copy link
Contributor

No description provided.

@buildhive
Copy link

XebiaLabs » overthere #34 SUCCESS
This pull request looks good
(what's this?)

@hierynomus hierynomus changed the title Overridden in SshSftpFile (Fixes #164) Overridden copyFrom in SshSftpFile (Fixes #164) Oct 9, 2015
hierynomus added a commit that referenced this pull request Oct 9, 2015
Overridden copyFrom in SshSftpFile (Fixes #164)
@hierynomus hierynomus merged commit 480a66e into master Oct 9, 2015
@hierynomus hierynomus deleted the slow-sftp branch October 9, 2015 14:01
@hierynomus
Copy link
Contributor Author

java.lang.AssertionError: File [ssh:sftp://overthere@overthere-unix.xebialabs.com:22/tmp/ot-20151009T160901451/dir-to-copy-with-different-name/file-to-copy.txt] does not exist
Expected: is <true>
     but: was <false>
    at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
    at com.xebialabs.overthere.itest.ItestsBase3Copy.assertFile(ItestsBase3Copy.java:395)
    at com.xebialabs.overthere.itest.ItestsBase3Copy.assertSourceDirectoryWasCopiedToExistentDestinationDirectory(ItestsBase3Copy.java:385)
    at com.xebialabs.overthere.itest.ItestsBase3Copy.shouldCopyToExistentDirectory(ItestsBase3Copy.java:358)
    at com.xebialabs.overthere.itest.ItestsBase3Copy.shouldCopyLocalDirectoryToExistentRemoteDirectoryWithDifferentName(ItestsBase3Copy.java:156)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
    at org.testng.internal.Invoker.invokeMethod(Invoker.java:702)
2015-10-09 16:09:01.920 [Test worker] DEBUG c.x.overthere.ssh.SshSftpFile - Opening SFTP ouput stream for ssh:sftp://overthere@overthere-unix.xebialabs.com:22/tmp/ot-20151009T160901451/dir-to-copy-with-different-name/file-to-be-left-as-is.txt
2015-10-09 16:09:01.920 [Test worker] DEBUG c.x.overthere.ssh.SshSftpConnection - Opening SFTP client to ssh:sftp://overthere@overthere-unix.xebialabs.com:22
2015-10-09 16:09:01.927 [Test worker] DEBUG c.x.overthere.spi.BaseOverthereFile - Using buffer of size [65536] for streaming to [ssh:sftp://overthere@overthere-unix.xebialabs.com:22/tmp/ot-20151009T160901451/dir-to-copy-with-different-name/file-to-be-left-as-is.txt]
2015-10-09 16:09:01.927 [Test worker] INFO  c.x.overthere.ssh.SshSftpFile - Closing SFTP output stream for ssh:sftp://overthere@overthere-unix.xebialabs.com:22/tmp/ot-20151009T160901451/dir-to-copy-with-different-name/file-to-be-left-as-is.txt
2015-10-09 16:09:01.928 [Test worker] DEBUG c.x.overthere.ssh.SshSftpConnection - Closing SFTP client to ssh:sftp://overthere@overthere-unix.xebialabs.com:22
2015-10-09 16:09:01.933 [Test worker] DEBUG c.x.overthere.local.LocalFile - Listing directory local:/tmp/ot-20151009T160901917/dir-to-copy
2015-10-09 16:09:01.935 [Test worker] DEBUG c.x.overthere.local.LocalFile - Opening file input stream for local:/tmp/ot-20151009T160901917/dir-to-copy/file-to-copy.txt
2015-10-09 16:09:01.935 [Test worker] DEBUG c.x.overthere.spi.BaseOverthereFile - Using buffer of size [65536] for streaming from [local:/tmp/ot-20151009T160901917/dir-to-copy/file-to-copy.txt]
2015-10-09 16:09:01.936 [Test worker] DEBUG c.x.overthere.local.LocalFile - Closing file input stream for com.xebialabs.overthere.local.LocalFile$1@18b6b098
2015-10-09 16:09:01.941 [Test worker] DEBUG c.x.overthere.ssh.SshSftpFile - Checking ssh:sftp://overthere@overthere-unix.xebialabs.com:22/tmp/ot-20151009T160901451/dir-to-copy-with-different-name for existence
2015-10-09 16:09:01.942 [Test worker] DEBUG c.x.overthere.ssh.SshSftpFile - Statting ssh:sftp://overthere@overthere-unix.xebialabs.com:22/tmp/ot-20151009T160901451/dir-to-copy-with-different-name
2015-10-09 16:09:01.942 [Test worker] DEBUG c.x.overthere.ssh.SshSftpFile - Checking ssh:sftp://overthere@overthere-unix.xebialabs.com:22/tmp/ot-20151009T160901451/dir-to-copy-with-different-name/file-to-copy.txt for existence
2015-10-09 16:09:02.428 [Test worker] TRACE com.xebialabs.overthere.Overthere - Connection for protocol local requested with the following connection options: ConnectionOptions[
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants