Skip to content

Commit

Permalink
Vast: ssh port code fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kristopolous committed Jan 22, 2025
1 parent 6fc6a2b commit 8280216
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sky/provision/vast/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def get_ssh_ports(cluster_name: str) -> List[int]:

for instance in instances.values():
if instance['name'] in possible_names:
ssh_ports.append((instance['name'], instance['ssh_port']))
ssh_ports.append(instance['ssh_port'])
assert ssh_ports, (
f'Could not find any instances for cluster {cluster_name}.')

Expand Down
3 changes: 1 addition & 2 deletions tests/smoke_tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,7 @@ def test_launch_fast_with_autostop(generic_cloud: str):
f'sky status -r {name} | grep UP',
],
f'sky down -y {name}',
timeout=smoke_tests_utils.get_timeout(generic_cloud) +
autostop_timeout,
timeout=smoke_tests_utils.get_timeout(generic_cloud) + autostop_timeout,
)
smoke_tests_utils.run_one_test(test)

Expand Down

0 comments on commit 8280216

Please sign in to comment.