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

Record config file name as test suite property #947

Merged
merged 7 commits into from
Dec 12, 2024

Conversation

dbarbuzzi
Copy link
Collaborator

@dbarbuzzi dbarbuzzi commented Dec 2, 2024

SUMMARY:
This PR updates the e2e tests to record the config file used as a property on the testsuite which is written to the JUnit XML report file, which gets used downstream to uniquely identify the tests so they can be tracked over time (currently for elapsed time).

I also added an extra skip-guard to the test_vllm test around the required environment variable and updated the pytest command usage to include “reasons” for all tests that don’t pass. This means that skip reasons/short error messages/etc. will all be logged at the end of the test results (it does not affect anything else).

TEST PLAN:

  • Tested locally by running CADENCE=nightly bash tests/e2e/vLLM/run_tests.sh to verify all things pass and that the test reports contain the expected new data.

Copy link

github-actions bot commented Dec 2, 2024

👋 Hi! Thank you for contributing to llm-compressor. Please add the ready label when the PR is ready for review.

@dbarbuzzi dbarbuzzi force-pushed the unique-deterministic-e2e-test-names branch from 347c1d5 to 3919f49 Compare December 2, 2024 17:45
tests/e2e/vLLM/test_vllm.py Outdated Show resolved Hide resolved
Signed-off-by: Domenic Barbuzzi <[email protected]>
@dbarbuzzi dbarbuzzi added the ready When a PR is ready for review label Dec 4, 2024
Copy link
Collaborator

@rahul-tuli rahul-tuli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@dhuangnm dhuangnm merged commit 8174aa3 into main Dec 12, 2024
6 of 7 checks passed
@dhuangnm dhuangnm deleted the unique-deterministic-e2e-test-names branch December 12, 2024 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready When a PR is ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants