google-cloud-rust
google-cloud-rust copied to clipboard
Environment-dependent Auth tests
These tests assume you do not have a MDS. If you run them on a GCE VM, they fail.
-
credentials::mds::test::adc_no_mds -
credentials::mds::test::builder_no_mds
Unit tests should not depend on the environment in this way.
Note that our CI build only cargo test -p auth-integration-tests. We do not also cargo test -p google-cloud-auth. Given this bug, I think we should run the auth unit tests on GCB as part of the auth integration build.