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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix API & SDK failing tests #62

Merged
merged 2 commits into from
Jan 25, 2024

Conversation

cipherboy
Copy link
Member

@cipherboy cipherboy commented Jan 25, 2024

These can be run manually with:

$ cd api && go test ./...
$ cd sdk && go test ./...

Note that, for some reason I haven't yet figured out, the former can be run from the root with go test github.com/openbao/openbao/api. but the SDK doesn't run similarly.

Related: #61

@naphelps naphelps self-requested a review January 25, 2024 16:10
With d34da50, behavior was made to
align with Go's handling of Unix sockets that changed due to a security
vulnerability.

However, the tests were not updated to reflect using localhost here,
resulting in the api package failing.

See also: https://nvd.nist.gov/vuln/detail/CVE-2023-29406

Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com>
Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com>
@naphelps naphelps merged commit f005d0e into openbao:development Jan 25, 2024
6 of 9 checks passed
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.

None yet

2 participants