Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
fix remote pipeline (#2182)
Browse files Browse the repository at this point in the history
  • Loading branch information
chicm-ms authored Mar 18, 2020
1 parent b9eba86 commit 0c6c5af
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/config/assessors/trial.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
nni.get_next_parameter()
for i in range(20):
time.sleep(1)
for _ in range(5):
for _ in range(2):
if up:
v *= 1.1
else:
Expand Down
2 changes: 1 addition & 1 deletion test/pipelines/pipelines-it-remote-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
inputs:
sshEndpoint: $(end_point)
runOptions: commands
commands: python3 /tmp/nnitest/$(Build.BuildId)/nni-remote/test/remote_docker.py --mode stop --name $(Build.BuildId) --os windows
commands: python3 /tmp/nnitest/$(Build.BuildId)/nni-remote/test/nni_test/nnitest/remote_docker.py --mode stop --name $(Build.BuildId) --os windows
displayName: 'Stop docker'
- task: SSH@0
inputs:
Expand Down
2 changes: 1 addition & 1 deletion test/pipelines/pipelines-it-remote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@ jobs:
inputs:
sshEndpoint: $(end_point)
runOptions: commands
commands: python3 /tmp/nnitest/$(Build.BuildId)/test/remote_docker.py --mode stop --name $(Build.BuildId)
commands: python3 /tmp/nnitest/$(Build.BuildId)/test/nni_test/nnitest/remote_docker.py --mode stop --name $(Build.BuildId)
displayName: 'Stop docker'

0 comments on commit 0c6c5af

Please sign in to comment.