-
Notifications
You must be signed in to change notification settings - Fork 555
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
more fix of smoke tests #4548
more fix of smoke tests #4548
Conversation
/smoke-tests |
/smoke-test -k test_managed_jobs_basic |
/smoke-test -k test_managed_jobs_storage --azure |
/smoke-test |
/smoke-test --kubernetes |
/smoke-test |
@@ -43,7 +42,7 @@ | |||
# when the controller being on Azure, which takes a long time for launching | |||
# step. | |||
@pytest.mark.managed_jobs | |||
def test_managed_jobs(generic_cloud: str): | |||
def test_managed_jobs_basic(generic_cloud: str): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we need this rename?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are many test_managed_jobs_xxx
. Rename this function to a unique name so that it is easier to filter using -k
if I want to trigger only this test.
/smoke-test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @zpoint! LGTM
|
||
parsed_args = parser.parse_args(args) | ||
|
||
# Collect chosen clouds from the flags |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a TODO for keeping the following sync with the conftest
, or do we want to reuse the one in conftest?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I can get the default cloud
from conftest
, but we still need to do after processing to get the final default cloud for us. Due to our resource limits—for example, we only allow AWS, Azure, GCP, and Kubernetes tests—while the clouds from conftest can include Runpod, IBM, or whatever the user provides. Still, it's good to retrieve as much as possible from conftest.
I'll leave this as a TODO since the current PR already includes many tests. I'll address this in a following PR.
/smoke-test -k test_managed_jobs_storage --azure |
/smoke-test -k test_managed_jobs_storage --azure |
/quicktest-core |
/quicktest-core --azure |
/smoke-test --serve |
/smoke-test --managed-jobs |
/smoke-test --managed-jobs --gcp |
Buildkite comment format updated to align with the local pytest format. cc @cblmemo |
test_skyserve_new_autoscaler_update[rolling]
andtest_skyserve_new_autoscaler_update[blue_green]
^ The last one use -k filter to only trigger test name contains: test_nonexistent_bucket, we can trigger one test with -k option
Test
Tested (run the relevant ones):
bash format.sh
pytest tests/test_smoke.py
pytest tests/test_smoke.py::test_fill_in_the_name
conda deactivate; bash -i tests/backward_compatibility_tests.sh