Skip to content

Commit

Permalink
Fix Google auth interop test (#2512)
Browse files Browse the repository at this point in the history
* Downgrade Google auth

* Suppress warning

* 1.57.0

* Update to latest and improve test
  • Loading branch information
JamesNK authored Aug 20, 2024
1 parent c397bc7 commit dd4adce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testassets/Shared/InteropClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ private async Task<ChannelCredentials> CreateCredentialsAsync(bool? useTestCaOve
if (options.TestCase == "compute_engine_creds")
{
var googleCredential = await GoogleCredential.GetApplicationDefaultAsync();
Assert.IsFalse(googleCredential.IsCreateScopedRequired);
Assert.IsTrue(googleCredential.UnderlyingCredential is ComputeCredential);
credentials = ChannelCredentials.Create(credentials, googleCredential.ToCallCredentials());
}
#else
Expand Down

0 comments on commit dd4adce

Please sign in to comment.