Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
improve sanity check in jwt_token_creds interop test
  • Loading branch information
apolcyn committed Aug 20, 2024
commit 7aac079e461ae3f348068a6eec333ee2c66704c0
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