Brem fields mixed criticality test - #858
Draft
bemerybmw wants to merge 4 commits into
Draft
Conversation
mw/com: Fix race condition when using notifier in set handler The notification is notified by the provider side when the handler is called. However, this happens before the actual field handler is updated based on the result of the set handler. We now use an interprocess notifier so that the consumer can notify the provider once the full set call including updating the field value is finished.
bemerybmw
force-pushed
the
brem_fields_mixed_criticality_test
branch
from
August 6, 2026 06:38
ea251da to
ad765b4
Compare
|
|
||
|
|
||
| def test_mixed_criticality_consumer_provider(target): | ||
| with provider(target, Criticality.ASILB): |
|
|
||
| def test_mixed_criticality_consumer_provider(target): | ||
| with provider(target, Criticality.ASILB): | ||
| with consumer(target, consumer_criticality=Criticality.ASILB): |
|
|
||
|
|
||
| def test_mixed_criticality_consumer_provider(target): | ||
| with provider(target, Criticality.QM): |
|
|
||
|
|
||
| def test_mixed_criticality_consumer_provider(target): | ||
| with provider(target, Criticality.ASILB): |
|
|
||
| def test_mixed_criticality_consumer_provider(target): | ||
| with provider(target, Criticality.ASILB): | ||
| with consumer(target, consumer_criticality=Criticality.QM): |
|
|
||
|
|
||
| def test_mixed_criticality_consumer_provider(target): | ||
| with provider(target, Criticality.QM): |
|
|
||
| def test_mixed_criticality_consumer_provider(target): | ||
| with provider(target, Criticality.QM): | ||
| with consumer(target, consumer_criticality=Criticality.QM): |
|
|
||
| def test_field_get_and_notifier_value(target): | ||
| """Test field get and notifier exchange between provider and consumer.""" | ||
| with provider(target, FieldScenario.GET_AND_NOTIFIER, "mw_com_config.json"): |
| def test_field_get_and_notifier_value(target): | ||
| """Test field get and notifier exchange between provider and consumer.""" | ||
| with provider(target, FieldScenario.GET_AND_NOTIFIER, "mw_com_config.json"): | ||
| with consumer(target, FieldScenario.GET_AND_NOTIFIER, "mw_com_config.json"): |
|
|
||
| def test_field_get_and_notifier_same_process(target): | ||
| """Test get-and-notifier field flow when consumer and provider run in the same process.""" | ||
| with consumer_and_provider(target, FieldScenario.GET_AND_NOTIFIER, "mw_com_config.json"): |
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.
No description provided.