-
Notifications
You must be signed in to change notification settings - Fork 425
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[events executor] - Fix Behavior with Timer Cancel (#2375)
* fix Signed-off-by: Matt Condino <[email protected]> * add timer cancel tests Signed-off-by: Matt Condino <[email protected]> * cleanup header include Signed-off-by: Matt Condino <[email protected]> * reverting change to timer_greater function Signed-off-by: Gus Brigantino <[email protected]> * use std::optional, and handle edgecase of 1 cancelled timer Signed-off-by: Matt Condino <[email protected]> * clean up run_timers func Signed-off-by: Gus Brigantino <[email protected]> * some fixes and added tests for cancel then reset of timers. Signed-off-by: Matt Condino <[email protected]> * refactor and clean up. remove cancelled timer tracking. Signed-off-by: Matt Condino <[email protected]> * remove unused method for size() Signed-off-by: Matt Condino <[email protected]> * linting Signed-off-by: Matt Condino <[email protected]> * relax timing constraints in tests Signed-off-by: Matt Condino <[email protected]> * further relax timing constraints to ensure windows tests are not flaky. Signed-off-by: Matt Condino <[email protected]> * use sim clock for tests, pub clock at .25 realtime rate. Signed-off-by: Matt Condino <[email protected]> --------- Signed-off-by: Matt Condino <[email protected]> Signed-off-by: Gus Brigantino <[email protected]> Co-authored-by: Gus Brigantino <[email protected]>
- Loading branch information
1 parent
265f5ec
commit 99f0fc9
Showing
5 changed files
with
468 additions
and
21 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
Oops, something went wrong.