From 4368ed37b8ae4e1ac1226439b1ca32453f430eec Mon Sep 17 00:00:00 2001 From: Michael Lumish Date: Mon, 12 Oct 2020 10:40:32 -0700 Subject: [PATCH] Fix missing arg variable in perRpcCreds interop test --- test/interop/interop_client.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/interop/interop_client.js b/test/interop/interop_client.js index 0b177e53..d7df128d 100644 --- a/test/interop/interop_client.js +++ b/test/interop/interop_client.js @@ -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);