Skip to content

Commit

Permalink
Remove unnecessary "supervisorctl start" for platform_api_server (#2591)
Browse files Browse the repository at this point in the history
Signed-off-by: bingwang <bingwang@microsoft.com>
  • Loading branch information
bingwang-ms authored Nov 26, 2020
1 parent 7534e77 commit 9df3f25
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/platform_tests/api/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ def start_platform_api_service(duthost, localhost):
# Reload the supervisor config and Start the HTTP server
duthost.command('docker exec -i pmon supervisorctl reread')
duthost.command('docker exec -i pmon supervisorctl update')
duthost.command('docker exec -i pmon supervisorctl start platform_api_server.conf')

res = localhost.wait_for(host=dut_ip, port=SERVER_PORT, state='started', delay=1, timeout=5)
assert 'exception' not in res
Expand Down

0 comments on commit 9df3f25

Please sign in to comment.