diff options
author | Jorge Canizales <jcanizales@google.com> | 2015-03-16 18:14:24 -0700 |
---|---|---|
committer | Jorge Canizales <jcanizales@google.com> | 2015-04-21 09:55:44 -0700 |
commit | aa83409dfdf8aa4e1f039612de15e3e853142f75 (patch) | |
tree | e13863895907d46a39117bf8bafae22821daeca1 /src | |
parent | 5f0c0f142759cab797e1c0dd2d107df59fec5c6d (diff) |
Adds documentation to the tests and reduces timeout to 2s
Diffstat (limited to 'src')
-rw-r--r-- | src/objective-c/examples/Sample/SampleTests/SampleTests.m | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/objective-c/examples/Sample/SampleTests/SampleTests.m b/src/objective-c/examples/Sample/SampleTests/SampleTests.m index 2adf4f3db7..96ae19dc84 100644 --- a/src/objective-c/examples/Sample/SampleTests/SampleTests.m +++ b/src/objective-c/examples/Sample/SampleTests/SampleTests.m @@ -42,6 +42,9 @@ @interface SampleTests : XCTestCase @end +// These tests require the gRPC-Java "RouteGuide" sample server to be running locally. Install the +// gRPC-Java library following the instructions here: https://github.com/grpc/grpc-java And run the +// server by following the instructions here: https://github.com/grpc/grpc-java/tree/master/examples @implementation SampleTests - (void)testConnectionToLocalServer { @@ -68,7 +71,7 @@ [call startWithWriteable:responsesWriteable]; - [self waitForExpectationsWithTimeout:10.0 handler:nil]; + [self waitForExpectationsWithTimeout:2.0 handler:nil]; } - (void)testEmptyRPC { @@ -96,6 +99,6 @@ [call startWithWriteable:responsesWriteable]; - [self waitForExpectationsWithTimeout:10.0 handler:nil]; + [self waitForExpectationsWithTimeout:2.0 handler:nil]; } @end |