Skip to content

Add test that proxy refreshes its identity#229

Merged
hawkw merged 3 commits intomasterfrom
eliza/id-refresh-tests
Apr 2, 2019
Merged

Add test that proxy refreshes its identity#229
hawkw merged 3 commits intomasterfrom
eliza/id-refresh-tests

Conversation

@hawkw
Copy link
Contributor

@hawkw hawkw commented Mar 29, 2019

Depends on #227 and #228.

This branch adds a new integration test that asserts that a proxy will
refresh its identity before the specified expiration time.

I also added a trace log in the identity module that logs the actual
duration we will wait before attempting to refresh. This was useful when
debugging why this test was failing (it was because I neglected to set
the LINKERD2_PROXY_IDENTITY_MIN_REFRESH env var, and it defaulted to 10
seconds). I felt like it was useful to log the actual duration we will
wait as well as the SystemTime when the cert expires, but I'm happy to
back that commit off if we don't actually want that log line.

Closes linkerd/linkerd2#2505

Signed-off-by: Eliza Weisman [email protected]

@hawkw hawkw changed the base branch from eliza/id-readiness-tests to master April 2, 2019 20:40
@hawkw hawkw changed the title Add test that proxy refreshes its' identity Add test that proxy refreshes its identity Apr 2, 2019
@hawkw hawkw force-pushed the eliza/id-refresh-tests branch from 8ce6753 to 9d44a93 Compare April 2, 2019 20:41
Signed-off-by: Eliza Weisman <[email protected]>
@hawkw hawkw merged commit b634c3a into master Apr 2, 2019
@olix0r olix0r deleted the eliza/id-refresh-tests branch August 17, 2019 01:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants