Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix data race in TestFleetFetch: as there are two servers, one may update hasAuth concurrently with the test checking the value. Change the way the auth header is checked to be similar to how the header would be checked in a real fleet-server, and respond with 401 if the auth header is invalid.
- Loading branch information