From eca333fde5b15959bd26075620cf53cae2302637 Mon Sep 17 00:00:00 2001 From: Patrick Erichsen Date: Fri, 25 Jul 2025 14:23:02 -0700 Subject: [PATCH] Update retry.test.ts --- core/llm/utils/retry.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/llm/utils/retry.test.ts b/core/llm/utils/retry.test.ts index 665e010c1..ec383c582 100644 --- a/core/llm/utils/retry.test.ts +++ b/core/llm/utils/retry.test.ts @@ -450,8 +450,8 @@ describe("Retry Functionality", () => { expect(result).toBe("success"); // Should be capped at maxDelay (200ms) not header value (10000ms) - expect(delays[0]).toBeGreaterThan(190); - expect(delays[0]).toBeLessThan(210); + expect(delays[0]).toBeGreaterThanOrEqual(190); + expect(delays[0]).toBeLessThanOrEqual(200); }); it("should handle case-insensitive header names", async () => {