From 7aac079e461ae3f348068a6eec333ee2c66704c0 Mon Sep 17 00:00:00 2001 From: Alexander Polcyn Date: Tue, 20 Aug 2024 20:37:48 +0000 Subject: [PATCH] improve sanity check in jwt_token_creds interop test --- testassets/Shared/InteropClient.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testassets/Shared/InteropClient.cs b/testassets/Shared/InteropClient.cs index 4c996e68c..34e98184d 100644 --- a/testassets/Shared/InteropClient.cs +++ b/testassets/Shared/InteropClient.cs @@ -238,7 +238,7 @@ private async Task 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()); }