From 0c6c5afdcfd5e50a6ef12921aba60fb2b4085a9b Mon Sep 17 00:00:00 2001 From: chicm-ms <38930155+chicm-ms@users.noreply.github.com> Date: Thu, 19 Mar 2020 02:48:43 +0800 Subject: [PATCH] fix remote pipeline (#2182) --- test/config/assessors/trial.py | 2 +- test/pipelines/pipelines-it-remote-windows.yml | 2 +- test/pipelines/pipelines-it-remote.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/config/assessors/trial.py b/test/config/assessors/trial.py index 20cbd89f5a..e4bdee0fd9 100644 --- a/test/config/assessors/trial.py +++ b/test/config/assessors/trial.py @@ -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: diff --git a/test/pipelines/pipelines-it-remote-windows.yml b/test/pipelines/pipelines-it-remote-windows.yml index 481a31353e..73f5950ba4 100644 --- a/test/pipelines/pipelines-it-remote-windows.yml +++ b/test/pipelines/pipelines-it-remote-windows.yml @@ -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: diff --git a/test/pipelines/pipelines-it-remote.yml b/test/pipelines/pipelines-it-remote.yml index c8abae058f..4eab1cf650 100644 --- a/test/pipelines/pipelines-it-remote.yml +++ b/test/pipelines/pipelines-it-remote.yml @@ -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'