Closed pyrooka closed 3 years ago
Fixes arf/planning-sdk-squad#2440
There were several warnings about race conditions (mostly about the tokenData field) when running the unit tests.
tokenData
go test -tags=all -race
Introduced "getter" and "setter" functions for the authenticator's tokenData with mutex.
All committers have signed the CLA.
:tada: This PR is included in version 5.2.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
Fixes arf/planning-sdk-squad#2440
Problem
There were several warnings about race conditions (mostly about the
tokenData
field) when running the unit tests.Reproduce
go test -tags=all -race
Solution
Introduced "getter" and "setter" functions for the authenticator's
tokenData
with mutex.