Skip to content

Conversation

TuomasTaipale
Copy link
Collaborator

Add new tests to check ability to create maximum amount of oneshot and periodic timer pools, maximum/large amount of timers from these pools and ability for implementations to handle timer pools with varying parameterization.

Add test case for creating maximum periodic pools. Additionally,
change the existing `timer_pool_create_max()` to always create the
maximum amount of oneshot timer pools. Implementation pool counts should
typically be somewhat sane so creating maximum amount of them without
test case specific restrictions should be fine.

Signed-off-by: Tuomas Taipale <[email protected]>
Add tests for allocating maximum timers from oneshot and periodic timer
pools. For memory capped or otherwise large amounts of available timers,
tests limit the number of allocations to a sane amount.

Signed-off-by: Tuomas Taipale <[email protected]>
Add test for creating a few varyingly parameterized (resolution,
minimum and maximum timeouts and timer counts) oneshot timer pools.
Implementations should be able to handle a set of heterogeneously
configured timer pools.

Signed-off-by: Tuomas Taipale <[email protected]>
@odpbuild odpbuild changed the title validation: timer: add new tests [PATCH v1] validation: timer: add new tests Sep 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant