You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd imagine it's because they try to network (e.g. --sandbox false would see these tests succeed), even if just with localhost. Best course of action to resolve this, however, I don't know. Does Go have a way to exclude tests from being run like e.g. Python packages in Nixpkgs do?
Yep that's right, there's some use of Go's httptest package in the tests which would break in Nix sandbox. I must admit I've used Nix to build this before but not with sandboxing enabled so never noticed.
I guard "integration" tests (those that test full E2E integration with a real Vault) with a Go flag +integration. The use of that httptest package is arguably "integration" too depending on how tight your definition is. I'd have no qualms guarding them by the same flag or something else like +network. It's something I can maybe look at in the next week or so.
Today on v1.0.0, a number of tests fail while building on 20.09:
with:
adding
doCheck = false
helps it pass, of course.The text was updated successfully, but these errors were encountered: