You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Testing the behaviour of things like Kontena::Etcd::Writer which use etcd TTLs needs support for faking TTL expirty. For example, refresh should raise an exception if any nodes have expired before the refresh cycle kicks in.
Implementing this in the tests against a real ETCD_ENDPOINT=... would require support from the etcd server... however, we could feasibly implemenet support for faking etcd TTL expiry in the Kontena::Etcd::Test::FakeServer.
The text was updated successfully, but these errors were encountered:
Testing the behaviour of things like
Kontena::Etcd::Writer
which use etcd TTLs needs support for faking TTL expirty. For example,refresh
should raise an exception if any nodes have expired before the refresh cycle kicks in.Implementing this in the tests against a real
ETCD_ENDPOINT=...
would require support from the etcd server... however, we could feasibly implemenet support for faking etcd TTL expiry in theKontena::Etcd::Test::FakeServer
.The text was updated successfully, but these errors were encountered: