Add windows test
Overview
-
Run tests on Windows in GitLab CI
Add two new jobs
tests windows
andtests race windows
to run the tests in a Windows environment.Example of failure in pipeline: https://gitlab.com/gitlab-org/ci-cd/custom-executor-drivers/autoscaler/pipelines/113197774
-
Fix test on Windows with winRM enabled
The test
TestExecutor_Execute/port_availability_check_failure
was failing on certain Windows machines that had winRM setup, becuase we had the winRM port hardcoded to 5985, and when testing the scenario of winRM responding it ends up responding since we hit a real winRM API instead of the mock one.The config is not available for the user to set at the moment we explicitly turn off the marshaling from
toml
Successful job: https://gitlab.com/steveazz/playground/-/jobs/426460735
closes #13 (closed)