Files
zitadel/internal
Livio SpringandGitHub bb9e557760 test: make session integration tests less eventually consistent (#10790)
# Which Problems Are Solved

While reviewing #9954, i noticed eventual consistency issues in the
session integration tests. All creation and change dates as well as
checked_at were tested using a `window` duration, typically one minute
from `time.Now()`. If some precondition took longer, they would all
fail.

# How the Problems Are Solved

Changed the tests to use the information returned by the creation / set
session calls and make sure they're in those timeframes.
Added a clock skew for the factor checks, since there's an inconsistency
in the event payload and event date: #10791


# Additional Changes

None

# Additional Context

- noted in #9954
- requires backport to v4.x
2025-09-25 14:30:10 +02:00
..
2025-06-27 17:25:44 +02:00
2025-05-02 13:44:24 +02:00
2025-04-02 16:53:06 +02:00
2024-01-02 14:26:31 +00:00
2025-06-27 17:25:44 +02:00
2025-07-02 13:57:41 +02:00