Skip to content

Add auto validation for Actors Examples #468

Description

@mukundansundar

Describe the proposal

Add auto validation for Actors Java Examples. Follow the guides/examples in https://github.com/dapr/mechanical-markdown for more information on the validator used.
Similar to the PR #464.
Add the test for the actors example. It might need some changes to make the output deterministic enough for it to be validated.

Activity

changed the title [-]Add auto validation for Actors Java Examples[/-] [+]Add auto validation for Actors Examples[/+] on Feb 1, 2021
added this to the v1.1 milestone on Feb 15, 2021

mukundansundar commented on Mar 31, 2021

@mukundansundar
ContributorAuthor

Need out of order processing support from mm.py. Since there are 3 actors in the example that are there which are called from independent threads, there is no order guarantee on which actor is called first. Similarly for the reminders and timers, since there is more than one actor, any actors can be pinged first or reminded of a state first.

Created an issue dapr/mechanical-markdown#18 to add ability to mm.py for outoforder processing.

The other option here is to limit the example to a single actor and then use the current available validations in mm.py.

@artursouza thoughts? Personally I do not like changing the example and limiting it to a single actor call.

artursouza commented on Apr 3, 2021

@artursouza
Contributor

@mukundansundar I agree. We need out of order processing before we can add this validation.

removed this from the v1.1 milestone on Apr 3, 2021
removed their assignment
on Nov 19, 2021

tanvigour commented on Apr 21, 2022

@tanvigour
Contributor

/assign

mukundansundar commented on Jan 18, 2023

@mukundansundar
ContributorAuthor

With the addition of match_order: none and output_match_mode directives, we have the capabilities to match/validate non-deterministic output order as well as substring matches for lines now.

added this to the v1.9 milestone on May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions