-
Notifications
You must be signed in to change notification settings - Fork 3k
Reduce number of threads in block device test #9931
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
Conversation
@ARMmbed/mbed-os-storage |
@mmahadevan108 FYI |
As outsider for these tests - a reason for reducing the test coverage (not enabling to run on internal flash) ? should be in the commit msg ? Was there a problem ? |
Filesystem is not intended to work in internal flash, even if the test works. We want to avoid spending time fixing tests or code that should not be part of our offer. The solution for internal flash is TDBStore |
@offirko, thank you for your changes. |
@ARMmbed/mbed-os-maintainers @maclobdell @amiraloosh this is needed for #9910 (new PSA target) so it needs to have 5.12 label |
char *dummy; | ||
|
||
rtos::Thread **bd_thread = new (std::nothrow) rtos::Thread*[TEST_NUM_OF_THREADS]; | ||
TEST_SKIP_UNLESS_MESSAGE((*bd_thread) != NULL, "no block device found."); |
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.
Message should reflect the skip reason
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.
Fixed. Please re-review.
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.
Meets PM Criteria - targeted fix.
Please update this commit 1f756ec such that the reasoning in this comment is added: #9931 (comment) It makes figuring out why a skip was added considerably easier, since searching for the PR where that change was introduced is not easy. |
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.
Can start CI once corrected.
In addition, prevent FS tests from running on internal flash, due to the fact that file system on internal flash is not part of our offering (TDBStore should be used there instead).
Corrected now. |
CI started for now. Suspect export issue is still a problem, but that job can be restarted once fixed. |
Test run: SUCCESSSummary: 6 of 6 test jobs passed |
Issue created to handle the TFM threads limitation: |
Description
Storage Tests Fix:
and verify memory resources before running test
Pull request type