Repository navigation
Add timeout decorators to improve test case stability - #2155
Merged
Merged
Conversation
…lity Signed-off-by: Sun, Xuehao <xuehao.sun@intel.com>
…taset for stability Signed-off-by: Sun, Xuehao <xuehao.sun@intel.com>
Collaborator
|
/azp run Unit-Test-CUDA-AutoRound |
|
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request increases the robustness of several unit tests by adding or adjusting timeout markers to prevent tests from hanging indefinitely. The main changes are the addition of
pytest.mark.timeoutdecorators to specific test methods and the adjustment of an existing timeout value.Test timeout improvements:
test_attention_mask_in_datasetintest_autoround.pyto ensure the test fails if it runs too long.test_deepseek_v2intest_static_attn.pyfrom 120 to 180 seconds to accommodate longer test runs.test_auto_scheme_exportintest_auto_scheme.pyfor better test reliability.test_auto_round_cmd8intest_cli_usage.pyto prevent indefinite execution.