fix(tests,security): improve test reliability and remove sensitive file
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user