From 12d019fdc47f1c7b248adabfcd5090cf80dbd842 Mon Sep 17 00:00:00 2001 From: Carlos Santos <4a.santos@gmail.com> Date: Tue, 29 Jul 2025 19:56:37 +0200 Subject: [PATCH] backend(test): rename handleRecordingLockTimeout to handleRecordingTimeout in race conditions tests --- .../tests/integration/api/recordings/race-conditions.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/tests/integration/api/recordings/race-conditions.test.ts b/backend/tests/integration/api/recordings/race-conditions.test.ts index a9791a8..d04c59b 100644 --- a/backend/tests/integration/api/recordings/race-conditions.test.ts +++ b/backend/tests/integration/api/recordings/race-conditions.test.ts @@ -62,7 +62,7 @@ describe('Recording API Race Conditions Tests', () => { throw new Error('Failed to start room composite'); }); const eventServiceOffSpy = jest.spyOn(recordingService['systemEventService'], 'off'); - const handleRecordingLockTimeoutSpy = jest.spyOn(recordingService as any, 'handleRecordingLockTimeout'); + const handleRecordingLockTimeoutSpy = jest.spyOn(recordingService as any, 'handleRecordingTimeout'); const releaseLockSpy = jest.spyOn(recordingService as any, 'releaseRecordingLockIfNoEgress'); try { @@ -115,7 +115,7 @@ describe('Recording API Race Conditions Tests', () => { }); // Mock the handleRecordingLockTimeout method to prevent actual timeout handling - const handleTimeoutSpy = jest.spyOn(recordingService as any, 'handleRecordingLockTimeout'); + const handleTimeoutSpy = jest.spyOn(recordingService as any, 'handleRecordingTimeout'); // Mock the releaseRecordingLockIfNoEgress method to prevent actual lock release const releaseLockSpy = jest.spyOn(recordingService as any, 'releaseRecordingLockIfNoEgress'); const eventServiceOffSpy = jest.spyOn(recordingService['systemEventService'], 'off');