-
Notifications
You must be signed in to change notification settings - Fork 66
fix: Fix the Sysman Engine Test for the workload submission #337
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
fix: Fix the Sysman Engine Test for the workload submission #337
Conversation
If engine utilization prior to workload submission is above 5%, the check for the utilization values before and after workload should be skipped. Related-To: NEO-16864 Signed-off-by: Pratik Bari <pratik.bari@intel.com>
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.
Pull request overview
This PR fixes a flaky test in the Sysman Engine conformance tests by adding a pre-check for engine utilization. If the engine utilization is already above 5% before workload submission, the test skips validation of before/after utilization values to avoid false failures caused by pre-existing workload on the engine.
Key changes:
- Adds a conditional check to skip workload validation when pre-utilization exceeds 5%
- Logs a descriptive message when the test is skipped due to high pre-utilization
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
conformance_tests/sysman/test_sysman_engine/src/test_sysman_engine.cpp
Outdated
Show resolved
Hide resolved
If engine utilization prior to workload submission exceeds 5%, the check for the utilization values before and after workload should be skipped. Related-To: NEO-16864 Signed-off-by: Pratik Bari <pratik.bari@intel.com>
Modified the engine workload test to poll pre-utilization for 5 seconds. The test now continuously measures utilization at 500ms intervals over a 5-second period and only skips the workload test if the final pre-utilization value exceeds 5%. Related-To: NEO-16864 Signed-off-by: Pratik Bari <pratik.bari@intel.com>
Modified the engine workload test to poll pre-utilization for 5 seconds. The test now continuously measures utilization at 500ms intervals over a 5-second period and only skips the workload test if the final pre-utilization value exceeds 5%. Related-To: NEO-16864 Signed-off-by: Pratik Bari <pratik.bari@intel.com>
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.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
conformance_tests/sysman/test_sysman_engine/src/test_sysman_engine.cpp
Outdated
Show resolved
Hide resolved
Modified the engine workload test to poll pre-utilization for 5 seconds. The test now continuously measures utilization at 500ms intervals over a 5-second period and only skips the workload test if the final pre-utilization value exceeds 5%. Related-To: NEO-16864 Signed-off-by: Pratik Bari <pratik.bari@intel.com>
Modified the engine workload test to poll pre-utilization for 5 seconds. The test now continuously measures utilization at 500ms intervals over a 5-second period and only skips the workload test if the final pre-utilization value exceeds 5%. Related-To: NEO-16864 Signed-off-by: Pratik Bari <pratik.bari@intel.com>
Modified the engine workload test to poll pre-utilization for 5 seconds. The test now continuously measures utilization at 500ms intervals over a 5-second period and only skips the workload test if the final pre-utilization value exceeds 5%. Related-To: NEO-16864 Signed-off-by: Pratik Bari <pratik.bari@intel.com>
Modified the engine workload test to poll pre-utilization for 5 seconds. The test now continuously measures utilization at 500ms intervals over a 5-second period and only skips the workload test if the final pre-utilization value exceeds 5%.
Related-To: NEO-16864
Signed-off-by: Pratik Bari pratik.bari@intel.com