moneta-rb / moneta

a unified interface to key/value stores
https://github.com/moneta-rb/moneta
MIT License
1.11k stars 87 forks source link

Tests: make the default_expires tests more basic and focused on expiry #252

Closed asppsa closed 1 year ago

asppsa commented 1 year ago

The default_expires tests have a tendency to fail because we are generally racing against expiry while trying to test all the things. This PR updates the setup so that tests on stores where default expiry is setup are just testing expiry functionality, and nothing else. It probably won't solve the problem entirely, but should help to reduce the flakiness.