mw/com: Add integration tests for getter-enabled field variants - #821
Draft
bemerybmw wants to merge 3 commits into
Draft
mw/com: Add integration tests for getter-enabled field variants#821bemerybmw wants to merge 3 commits into
bemerybmw wants to merge 3 commits into
Conversation
bemerybmw
force-pushed
the
sah_add_getter_integration_tests
branch
from
August 4, 2026 09:47
d1ae15a to
3749c23
Compare
bemerybmw
force-pushed
the
sah_add_getter_integration_tests
branch
4 times, most recently
from
August 5, 2026 15:01
17a720f to
74facfc
Compare
| 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"): |
|
|
||
| def test_field_get_value(target): | ||
| """Test field get exchange between provider and consumer.""" | ||
| with provider(target, FieldScenario.GET, "mw_com_config.json"): |
| def test_field_get_value(target): | ||
| """Test field get exchange between provider and consumer.""" | ||
| with provider(target, FieldScenario.GET, "mw_com_config.json"): | ||
| with consumer(target, FieldScenario.GET, "mw_com_config.json"): |
|
|
||
| def test_field_set_and_get_same_process(target): | ||
| """Test set-and-get field flow when consumer and provider run in the same process.""" | ||
| with consumer_and_provider(target, FieldScenario.SET_AND_GET, "mw_com_config.json"): |
|
|
||
| def test_field_set_get_and_notifier_value(target): | ||
| """Test field set, get and notifier exchange between provider and consumer.""" | ||
| with provider(target, FieldScenario.SET_GET_AND_NOTIFIER, "mw_com_config.json"): |
bemerybmw
commented
Aug 5, 2026
bemerybmw
force-pushed
the
sah_add_getter_integration_tests
branch
3 times, most recently
from
August 6, 2026 06:33
2fbe1c4 to
43251c0
Compare
bemerybmw
force-pushed
the
sah_add_getter_integration_tests
branch
from
August 6, 2026 13:51
43251c0 to
9f6eeb0
Compare
|
|
||
| def test_field_set_and_get_value(target): | ||
| """Test field set and get exchange between provider and consumer.""" | ||
| with provider(target, FieldScenario.SET_AND_GET, "mw_com_config.json"): |
| def test_field_set_and_get_value(target): | ||
| """Test field set and get exchange between provider and consumer.""" | ||
| with provider(target, FieldScenario.SET_AND_GET, "mw_com_config.json"): | ||
| with consumer(target, FieldScenario.SET_AND_GET, "mw_com_config.json"): |
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
sah_add_getter_integration_tests
branch
from
August 6, 2026 16:05
9f6eeb0 to
a6335a4
Compare
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.