-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[Fix] skip xlite e2e test #4786
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -31,6 +31,7 @@ | |||||
| ] | ||||||
|
|
||||||
|
|
||||||
| @pytest.mark.skip | ||||||
| @pytest.mark.parametrize("model", MODELS) | ||||||
| @pytest.mark.parametrize("max_tokens", [32]) | ||||||
| def test_models_with_xlite_decode_only( | ||||||
|
|
@@ -79,6 +80,7 @@ def test_models_with_xlite_decode_only( | |||||
| ) | ||||||
|
|
||||||
|
|
||||||
| @pytest.mark.skip | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Similar to the other test, please use
Suggested change
|
||||||
| @pytest.mark.parametrize("model", MODELS) | ||||||
| @pytest.mark.parametrize("max_tokens", [32]) | ||||||
| def test_models_with_xlite_full_mode( | ||||||
|
|
||||||
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.
Instead of unconditionally skipping this test with
@pytest.mark.skip, it is better practice to mark it as an expected failure using@pytest.mark.xfail. This will still prevent the test from failing the CI, but it keeps the test active in the test suite. If the underlying precision issue is ever resolved and the test starts passing,xfailwill flag it as an unexpected pass, providing visibility that the issue may be fixed.