Skip to content

Commit

Permalink
Merge pull request #26 from trevor-vaughan/windows_fixes
Browse files Browse the repository at this point in the history
Fix WinRM error message matching
  • Loading branch information
kevpl authored Jan 21, 2020
2 parents 362f59d + b927816 commit 433e746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/beaker/hypervisor/vagrant.rb
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ def vagrant_cmd(args)
end
}
rescue => e
if e =~ /WinRM/m
if e.to_s =~ /WinRM/m
sleep(10)

retry if (retries += 1) < 6
Expand Down

0 comments on commit 433e746

Please sign in to comment.