test-kitchen / winrm-transport

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

retry if an 'Illegal operation attempted on a registry key that has been marked for deletion" fault occurs when opening a remote shell #20

Open kashook opened 8 years ago

kashook commented 8 years ago

Fixes #18

mwrock commented 8 years ago

This gem has been deprecated and no future work is planned. Its contents were essentially merged into the winrm and the winrm-fs gems and the yet unreleased Test-Kitchen master branch has been updated to use those gems so we should see them in the next test-kitchen release.

This particular fix would be aimed at winrm. It now has a command_executor and unlike this gem, has retry logic similar to what is in this pr. However, its retry may not be triggered by the specific error that is trying to be caught here.

It would probably be a good idea to kick the tires on test-kitchen master and see if these faults continue and if so, submit a pr (which should be even simpler than this one) to the winrm gem. Thanks!