Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tests] Fix smoke tests for new job creation log format #4325

Merged
merged 1 commit into from
Nov 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions tests/test_smoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,13 +288,13 @@ def test_example_app():
# (min, pid=1277)
# (min, pid=1277) task run finish
# ✓ Job finished (status: SUCCEEDED).

# 📋 Useful Commands
#
# Job ID: 1
# 📋 Useful Commands
# ├── To cancel the job: sky cancel test 1
# ├── To stream job logs: sky logs test 1
# └── To view job queue: sky queue test

#
# Cluster name: test
# ├── To log into the head VM: ssh test
# ├── To submit a job: sky exec test yaml_file
Expand All @@ -314,8 +314,8 @@ def test_example_app():
'grep "Job finished (status: SUCCEEDED)" && '
'echo "==Validating task output ending 2==" && '
'echo "$s" | grep -A 5 "Job finished (status: SUCCEEDED)" | '
'grep "Useful Commands" && '
'echo "$s" | grep -A 1 "Useful Commands" | grep "Job ID:"')
'grep "Job ID:" && '
'echo "$s" | grep -A 1 "Job ID:" | grep "Useful Commands"')


# ---------- A minimal task ----------
Expand Down
Loading