Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Prevent use of deleted ticker in Ticker test #5255
In test_case_2x_callbacks two tickers are setup to repeatedly reschedule each other. When these tickers are deleted this rescheduling is still occurring and can lead to a deleted ticker being scheduled.
When this happens the following error message is displayed:
Note - this problem was not detected by CI since the test reported the correct results back to the host test and only experienced this error on tear down.
This problem can be reproduced on an nrf51 by first building the ticker
And then running testing with: