Skip to content

Commit

Permalink
Add extra checks to make state last_update checks more stable (#784)
Browse files Browse the repository at this point in the history
  • Loading branch information
grafnu authored Dec 8, 2023
1 parent d207962 commit 3decfc9
Show file tree
Hide file tree
Showing 28 changed files with 1,926 additions and 1,054 deletions.
5 changes: 5 additions & 0 deletions docs/specs/sequences/generated.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,5 +197,10 @@ Check that a device publishes correct software information in state messages
Check that last_update state is correctly set in response to a config update.

1. Wait for state last_config matches first config timestamp
1. Wait for state update complete
1. Force config update to trigger another config update
1. Wait for state last_config matches new config timestamp
1. Wait for state update complete
1. Force config update to trigger another config update
1. Wait for state last_config matches last config timestamp
1. Wait for state update complete
9 changes: 0 additions & 9 deletions validator/sequences/system_last_update/config_system.attr

This file was deleted.

12 changes: 0 additions & 12 deletions validator/sequences/system_last_update/config_system.json

This file was deleted.

9 changes: 5 additions & 4 deletions validator/sequences/system_last_update/config_update.attr

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions validator/sequences/system_last_update/config_update.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions validator/sequences/system_last_update/event_pointset.attr

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions validator/sequences/system_last_update/event_pointset.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions validator/sequences/system_last_update/event_system.attr

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 36 additions & 6 deletions validator/sequences/system_last_update/event_system.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions validator/sequences/system_last_update/local_localnet.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions validator/sequences/system_last_update/local_pointset.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions validator/sequences/system_last_update/local_system.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions validator/sequences/system_last_update/local_update.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions validator/sequences/system_last_update/sequence.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,10 @@
Check that last_update state is correctly set in response to a config update.

1. Wait for state last_config matches first config timestamp
1. Wait for state update complete
1. Force config update to trigger another config update
1. Wait for state last_config matches new config timestamp
1. Wait for state update complete
1. Force config update to trigger another config update
1. Wait for state last_config matches last config timestamp
1. Wait for state update complete
Loading

0 comments on commit 3decfc9

Please sign in to comment.