Commit Graph

9 Commits

Author SHA1 Message Date
Calvin Leung Huang
861cfde1c2 Move timeout declaration outside of for loop, break out early if renewed cleanly (#4522) 2018-05-07 13:47:55 -07:00
Calvin Leung Huang
ea63ed27f0 Refactor renewer tests (#4433) 2018-04-24 01:26:10 -04:00
Calvin Leung Huang
c7fcecb362 Extend the TTL on the token for renewer auth test (#4297) 2018-04-06 12:24:01 -04:00
Jeff Mitchell
c8572072ef Stretch the renewer test a bit to give Travis some more time to deal with it 2018-04-03 22:36:14 -04:00
Jeff Mitchell
9ca558c303 Update lease renewer logic (#4090)
* Add grace period calculation logic to renewer

* Update lease renewer logic.

It is believed by myself and members of the Nomad team that this logic
should be much more robust in terms of causing large numbers of new
secret acquisitions caused by a static grace period. See comments in the
code for details.

Fixes #3414

* Fix some commenting and fix tests

* Add more time to test so that integ tests don't time out

* Fix some review feedback
2018-03-19 15:48:24 -04:00
Seth Vargo
08b39ecc49 Add API functions for token helpers 2017-10-24 09:26:44 -04:00
Chris Hoffman
010575cb60 Rename "generic" secret backend to "kv" (#3292) 2017-09-15 09:02:29 -04:00
Seth Vargo
8cdc0372b7 Fix vet errors 2017-07-07 17:14:47 -04:00
Seth Vargo
47260ed024 Move renewer integration tests into separate package 2017-07-07 17:14:46 -04:00