Skip to content

Commit 26227c3

Browse files
authored
[testing] improve sanity check in jwt_token_creds interop test (#2513)
1 parent dd4adce commit 26227c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testassets/Shared/InteropClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ private async Task<ChannelCredentials> CreateCredentialsAsync(bool? useTestCaOve
238238
if (options.TestCase == "jwt_token_creds")
239239
{
240240
var googleCredential = await GoogleCredential.GetApplicationDefaultAsync();
241-
Assert.IsTrue(googleCredential.IsCreateScopedRequired);
241+
Assert.IsFalse(googleCredential.UnderlyingCredential is ComputeCredential);
242242
credentials = ChannelCredentials.Create(credentials, googleCredential.ToCallCredentials());
243243
}
244244

0 commit comments

Comments
 (0)