[GH-ISSUE #4910] [Falky] src/db/internal-adapter.test.ts > adapter test > should create on secondary storage #27431

Closed
opened 2026-04-17 18:27:05 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @himself65 on GitHub (Sep 25, 2025).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/4910

 FAIL  src/db/internal-adapter.test.ts > adapter test > should create on secondary storage
AssertionError: expected -1 to be greater than or equal to 0
 ❯ src/db/internal-adapter.test.ts:469:55
    467|   const expectedTokenExp = 60 * 60 * 24 * 7;
    468|   expect(expirationMap.get(token) - expectedTokenExp).toBeLessThanOrEq…
    469|   expect(expirationMap.get(token) - expectedTokenExp).toBeGreaterThanO…
Originally created by @himself65 on GitHub (Sep 25, 2025). Original GitHub issue: https://github.com/better-auth/better-auth/issues/4910 ``` FAIL src/db/internal-adapter.test.ts > adapter test > should create on secondary storage AssertionError: expected -1 to be greater than or equal to 0 ❯ src/db/internal-adapter.test.ts:469:55 467| const expectedTokenExp = 60 * 60 * 24 * 7; 468| expect(expirationMap.get(token) - expectedTokenExp).toBeLessThanOrEq… 469| expect(expirationMap.get(token) - expectedTokenExp).toBeGreaterThanO… ```
GiteaMirror added the lockedbug labels 2026-04-17 18:27:05 -05:00
Author
Owner
<!-- gh-comment-id:3335872321 --> @himself65 commented on GitHub (Sep 25, 2025): https://github.com/better-auth/better-auth/actions/runs/18019989389/job/51274662668?pr=4909
Author
Owner
<!-- gh-comment-id:3335873793 --> @himself65 commented on GitHub (Sep 25, 2025): https://github.com/better-auth/better-auth/actions/runs/18019212342/job/51272041290
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#27431