Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unconditionally refresh api token in test suite #2531

Merged
merged 1 commit into from
Feb 24, 2021
Merged

Conversation

smlx
Copy link
Member

@smlx smlx commented Feb 23, 2021

Checklist

  • Affected Issues have been mentioned in the Closing issues section
  • Documentation has been written/updated
  • PR title is ready for changelog and subsystem label(s) applied

This PR makes the refresh token logic unconditionally get a new token instead of checking if it has expired. Hopefully this fixes a race condition where the token expires after the check but before use.

Closing issues

馃 this closes: #2393

@smlx smlx added the 6-images-testing Base Images & Testing subsystem label Feb 23, 2021
@smlx smlx added this to the v2.0.0 milestone Feb 23, 2021
@smlx smlx merged commit daaf98e into main Feb 24, 2021
@smlx smlx deleted the always-refresh-test-token branch February 24, 2021 04:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6-images-testing Base Images & Testing subsystem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Occasional failures on main branch CI
1 participant