google-cloud-rust icon indicating copy to clipboard operation
google-cloud-rust copied to clipboard

Environment-dependent Auth tests

Open dbolduc opened this issue 7 months ago • 0 comments

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.

dbolduc avatar May 28 '25 17:05 dbolduc