Skip to content

Commit

Permalink
[testing] improve sanity check in jwt_token_creds interop test (#2513)
Browse files Browse the repository at this point in the history
  • Loading branch information
apolcyn authored Aug 21, 2024
1 parent dd4adce commit 26227c3
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 @@ -238,7 +238,7 @@ private async Task<ChannelCredentials> CreateCredentialsAsync(bool? useTestCaOve
if (options.TestCase == "jwt_token_creds")
{
var googleCredential = await GoogleCredential.GetApplicationDefaultAsync();
Assert.IsTrue(googleCredential.IsCreateScopedRequired);
Assert.IsFalse(googleCredential.UnderlyingCredential is ComputeCredential);
credentials = ChannelCredentials.Create(credentials, googleCredential.ToCallCredentials());
}

Expand Down

0 comments on commit 26227c3

Please sign in to comment.