-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new feature: it is possible to add the condition "WaitUntil" to a `MatchMessageType` action result. The condition idea is to wait until the desired message arrives. In the condition config there is a timeout, that avoids the MG test getting stuck. There is also a list of allowed messages. If the test awaits a certain message, then all the other messages arrived must belong to this user specified list of allowed messages. This config is passed to the MG in the json file. A `MatchMessageField` with the `WaitUntil` condition has the following shape: ```json "results": [ { "type": "match_message_type", "value": "0x1b", "condition": {"WaitUntil": {"WaitUntilConfig": {"timeout": 120, "allowed_messages": ["0x1b", "0x16"] } } } } ], ``` This action ignores a message with id `0x16`, fails if arrives a message with id `0x17` (for example) and succeeds if arrive the message with desired id `0x1b`. Add README notes for WaitUntil feature
- Loading branch information
Showing
5 changed files
with
206 additions
and
35 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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