Fix failing tests
- Delete override min/max configs in cleanup so that they aren't in use for the rest of the test suite
- Extend delay for system triggered scheduling check to 2 seconds beyond delay. This is not a great fix, but given what we're testing maybe the only way.
- Move scheduling of system triggered setup out of lock to avoid a deadlock which was preventing other listeners from returning in the case of really frequent triggering (which happens due to low min/max constants mentioned above).
Test: run entire profiling test suite 5 times
Bug: 376278600
Flag: EXEMPT - bugfix
Change-Id: Iaf75ce4532ea7bb655da2721ffd71a5e3ef64055
2 files changed