mirror of https://github.com/grpc/grpc-node.git
Merge pull request #1601 from murgatroid99/interop_client_fixes
Fix missing arg variable in perRpcCreds interop test
This commit is contained in:
commit
576b07af45
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue