test: Allow runner tests to exit cleanly (#12127)

This commit is contained in:
Iván Ovejero 2024-12-10 13:09:36 +01:00 committed by GitHub
parent addb4fa352
commit 8bf6cce000
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -38,6 +38,8 @@ describe('TestRunner', () => {
maxPayload: 1024, maxPayload: 1024,
}), }),
); );
runner.clearIdleTimer();
}); });
it('should handle different taskBrokerUri formats correctly', () => { it('should handle different taskBrokerUri formats correctly', () => {
@ -66,6 +68,8 @@ describe('TestRunner', () => {
maxPayload: 1024, maxPayload: 1024,
}), }),
); );
runner.clearIdleTimer();
}); });
it('should throw an error if taskBrokerUri is invalid', () => { it('should throw an error if taskBrokerUri is invalid', () => {