Skip to content

Commit

Permalink
Update interop test service url to grpc-test.sandbox.googleapis.com.
Browse files Browse the repository at this point in the history
  • Loading branch information
adelez committed Jan 20, 2016
1 parent 65eb565 commit 83576ba
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions doc/interop-test-descriptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ with desired oauth scope.
The test uses `--default_service_account` with GCE service account email and
`--oauth_scope` with the OAuth scope to use. For testing against
grpc-test.sandbox.google.com, "https://www.googleapis.com/auth/xapi.zoo" should
grpc-test.sandbox.googleapis.com, "https://www.googleapis.com/auth/xapi.zoo" should
be passed in as `--oauth_scope`.
Server features:
Expand Down Expand Up @@ -568,7 +568,7 @@ variable GOOGLE_APPLICATION_CREDENTIALS, *OR* if GCE credentials is used to
fetch the token, `--default_service_account` can be used to pass in GCE service
account email.
- uses the flag `--oauth_scope` for the oauth scope. For testing against
grpc-test.sandbox.google.com, "https://www.googleapis.com/auth/xapi.zoo" should
grpc-test.sandbox.googleapis.com, "https://www.googleapis.com/auth/xapi.zoo" should
be passed as the `--oauth_scope`.
Server features:
Expand Down Expand Up @@ -610,7 +610,7 @@ usable auth implementation, it may specify the file location in the environment
variable GOOGLE_APPLICATION_CREDENTIALS
- optionally uses the flag `--oauth_scope` for the oauth scope if implementator
wishes to use service account credential instead of JWT credential. For testing
against grpc-test.sandbox.google.com, oauth scope
against grpc-test.sandbox.googleapis.com, oauth scope
"https://www.googleapis.com/auth/xapi.zoo" should be used.
Server features:
Expand Down Expand Up @@ -1033,7 +1033,7 @@ authenticated via OAuth, then the SimpleResponse should have oauth_scope filled
with the scope of the method being invoked.
Although a general server-side feature, most test servers won't implement this
feature. The TLS server grpc-test.sandbox.google.com:443 supports this feature.
feature. The TLS server grpc-test.sandbox.googleapis.com:443 supports this feature.
It requires at least the OAuth scope
`https://www.googleapis.com/auth/xapi.zoo` for authentication to succeed.
Expand Down
2 changes: 1 addition & 1 deletion examples/objective-c/auth_sample/MakeRPCViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

NSString * const kTestScope = @"https://www.googleapis.com/auth/xapi.zoo";

static NSString * const kTestHostAddress = @"grpc-test.sandbox.google.com";
static NSString * const kTestHostAddress = @"grpc-test.sandbox.googleapis.com";

// Category for RPC errors to create the descriptions as we want them to appear on our view.
@interface NSError (AuthSample)
Expand Down
2 changes: 1 addition & 1 deletion src/objective-c/examples/Sample/Sample/ViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ @implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];

NSString * const kRemoteHost = @"grpc-test.sandbox.google.com";
NSString * const kRemoteHost = @"grpc-test.sandbox.googleapis.com";

RMTSimpleRequest *request = [[RMTSimpleRequest alloc] init];
request.responseSize = 10;
Expand Down
2 changes: 1 addition & 1 deletion src/objective-c/examples/SwiftSample/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()

let RemoteHost = "grpc-test.sandbox.google.com"
let RemoteHost = "grpc-test.sandbox.googleapis.com"

let request = RMTSimpleRequest()
request.responseSize = 10
Expand Down
2 changes: 1 addition & 1 deletion src/objective-c/tests/InteropTestsRemote.m
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

#import "InteropTests.h"

static NSString * const kRemoteSSLHost = @"grpc-test.sandbox.google.com";
static NSString * const kRemoteSSLHost = @"grpc-test.sandbox.googleapis.com";

/** Tests in InteropTests.m, sending the RPCs to a remote SSL server. */
@interface InteropTestsRemote : InteropTests
Expand Down
4 changes: 2 additions & 2 deletions tools/run_tests/run_interop_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,8 +426,8 @@ def cloud_to_prod_jobspec(language, test_case, docker_image=None, auth=False):
"""Creates jobspec for cloud-to-prod interop test"""
container_name = None
cmdargs = [
'--server_host_override=grpc-test.sandbox.google.com',
'--server_host=grpc-test.sandbox.google.com',
'--server_host_override=grpc-test.sandbox.googleapis.com',
'--server_host=grpc-test.sandbox.googleapis.com',
'--server_port=443',
'--use_tls=true',
'--test_case=%s' % test_case]
Expand Down

0 comments on commit 83576ba

Please sign in to comment.