We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26d4421 commit c6166aaCopy full SHA for c6166aa
key-value/key-value-sync/tests/code_gen/stores/base.py
@@ -171,7 +171,7 @@ def test_put_ttl_get_ttl(self, store: BaseStore):
171
172
assert value == {"test": "test"}
173
assert ttl is not None
174
- assert ttl == IsFloat(approx=100), f"TTL should be ~100, but is {ttl}"
+ assert ttl == IsFloat(approx=100, delta=2), f"TTL should be ~100, but is {ttl}"
175
176
def test_negative_ttl(self, store: BaseStore):
177
"""Tests that a negative ttl will return None when getting the key."""
0 commit comments