diff --git a/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/retry_delete_by_query_conflicts.ts b/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/retry_delete_by_query_conflicts.ts index de7e1afd163c9..e7710e2c21ad9 100644 --- a/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/retry_delete_by_query_conflicts.ts +++ b/x-pack/test/security_solution_api_integration/test_suites/detections_response/utils/retry_delete_by_query_conflicts.ts @@ -29,13 +29,12 @@ export async function retryIfDeleteByQueryConflicts( const operationResult = await operation(); if (!operationResult.failures || operationResult.failures?.length === 0) { - logger.info(`${name} finished successfully`); return operationResult; } const failureCause = operationResult.failures.map((failure) => failure.cause).join(', '); - logger.warning(`Unable to delete by query ${name}. Caused by: "${failureCause}". Retrying ...`); + logger.error(`Unable to delete by query ${name}. Caused by: "${failureCause}". Retrying ...`); await waitBeforeNextRetry(retryDelay); }