Commit a910f710 authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Merge branch 'sh-loosen-ttl-expectations' into 'master'

Loosen TTL expectations in tests

See merge request gitlab-org/gitlab!70570
parents 2428ecbd ead21845
...@@ -13,7 +13,7 @@ module SessionHelpers ...@@ -13,7 +13,7 @@ module SessionHelpers
session_keys = get_session_keys session_keys = get_session_keys
expect(session_keys.size).to eq(1) expect(session_keys.size).to eq(1)
expect(get_ttl(session_keys.first)).to eq expiration expect(get_ttl(session_keys.first)).to be_within(5).of(expiration)
end end
def get_session_keys def get_session_keys
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment