fix(tests,security): improve test reliability and remove sensitive file

This commit is contained in:
2025-07-22 20:41:55 +00:00
parent 36bab3eccb
commit 4b398b56da
5 changed files with 119 additions and 138 deletions

View File

@@ -274,6 +274,8 @@ tap.test('should test error recovery strategies', async () => {
} catch (error) {
if (retryCount < maxRetries) {
console.log(`Retry attempt ${retryCount} after error: ${error.message}`);
// Add delay to avoid rate limiting
await new Promise(resolve => setTimeout(resolve, 3500));
return retryableOperation();
}
throw error;