Merge pull request #1601 from murgatroid99/interop_client_fixes

Fix missing arg variable in perRpcCreds interop test
This commit is contained in:
Michael Lumish 2020-10-12 11:23:32 -07:00 committed by GitHub
commit 576b07af45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -464,6 +464,10 @@ function oauth2Test(client, done, extra) {
}
function perRpcAuthTest(client, done, extra) {
var arg = {
fill_username: true,
fill_oauth_scope: true
};
const creds = grpc.credentials.createFromGoogleCredential(new GoogleAuth({scopes: extra.oauth_scope}));
client.unaryCall(arg, {credentials: creds}, function(err, resp) {
assert.ifError(err);