test-kitchen / winrm-transport

WinRM transport logic for re-using remote shells and uploading files
Other
8 stars 9 forks source link

Files are not consistently uploaded. #2

Closed smurawski closed 9 years ago

smurawski commented 9 years ago

When using test-kitchen (with the winrm-transport), I often have failures in transferring all the files staged for transport. A second converge usually makes things right. It'd be nice to have a validate step on the remote end to make sure everything got there.

smurawski commented 9 years ago

I have the debug logs from a Test-Kitchen run with a failed file transfer. It looks like it was copied over to the staging, encoded location, but never made it to the "final" temp location.

https://gist.github.com/smurawski/521957b68032e1c8aa99

xmik commented 9 years ago

I ran into failed file transfer too (cookbooks directory was never unzipped), test-kitchen/test-kitchen/#642 and posted PR which resolved it for me on Windows 7.

fnichol commented 9 years ago

@smurawski is it possible that #8 resolves this?

smurawski commented 9 years ago

Yep, closed via #8 and there are pester tests for that use case.