Skip to content

Commit

Permalink
move jq from yaml to test_minimal
Browse files Browse the repository at this point in the history
  • Loading branch information
romilbhardwaj committed May 8, 2024
1 parent 736e087 commit e3768b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tests/test_smoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,8 @@ def test_minimal(generic_cloud: str):
# Ensure the raylet process has the correct file descriptor limit.
f'sky exec {name} "prlimit -n --pid=\$(pgrep -f \'raylet/raylet --raylet_socket_name\') | grep \'"\'1048576 1048576\'"\'"',
f'sky logs {name} 2 --status', # Ensure the job succeeded.
# Install jq for the next test.
f'sky exec {name} \'sudo apt-get update && sudo apt-get install -y jq\'',
# Check the cluster info
f'sky exec {name} \'echo "$SKYPILOT_CLUSTER_INFO" | jq .cluster_name | grep {name}\'',
f'sky logs {name} 3 --status', # Ensure the job succeeded.
Expand Down
1 change: 0 additions & 1 deletion tests/test_yamls/minimal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: min

setup: |
echo "running setup"
sudo apt-get install -y jq
run: |
conda env list

0 comments on commit e3768b4

Please sign in to comment.