File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ def print_file(shell, filename):
167
167
if platform != "posix" :
168
168
pytest .skip ("other platform" )
169
169
170
- if "ssh" in sender .shell :
170
+ if "ssh" in sender .shell and not sys . platform . startswith ( "win" ) :
171
171
sender .shell .extend (["-i" , ssh_key ])
172
172
# start tests
173
173
Original file line number Diff line number Diff line change @@ -29,14 +29,15 @@ def ssh_config(ssh_key, request):
29
29
c .Cluster .controller_ip = '0.0.0.0'
30
30
c .Cluster .engine_launcher_class = request .param
31
31
engine_set_cfg = c [f"{ request .param } EngineSetLauncher" ]
32
- engine_set_cfg .ssh_args = [
33
- "-o" ,
34
- "UserKnownHostsFile=/dev/null" ,
35
- "-o" ,
36
- "StrictHostKeyChecking=no" ,
37
- "-i" ,
38
- ssh_key ,
39
- ]
32
+ if not windows :
33
+ engine_set_cfg .ssh_args = [
34
+ "-o" ,
35
+ "UserKnownHostsFile=/dev/null" ,
36
+ "-o" ,
37
+ "StrictHostKeyChecking=no" ,
38
+ "-i" ,
39
+ ssh_key ,
40
+ ]
40
41
engine_set_cfg .scp_args = list (engine_set_cfg .ssh_args ) # copy
41
42
if windows :
42
43
engine_set_cfg .remote_python = "python"
You can’t perform that action at this time.
0 commit comments