staticcheck no longer runs on Go 1.10 (#92)

* staticcheck no longer runs on Go 1.10, so run it on Go 1.11 in CI
* be explicit about default make target in .travis.yml
This commit is contained in:
Joshua Humphries
2019-03-22 14:35:01 -04:00
committed by GitHub
parent 1bbf8dae71
commit fe97274a1b
3 changed files with 10 additions and 11 deletions

View File

@@ -285,7 +285,7 @@ func simpleTest(t *testing.T, cc *grpc.ClientConn) {
cl := grpc_testing.NewTestServiceClient(cc)
ctx, cancel := context.WithTimeout(context.Background(), 3*time.Second)
defer cancel()
_, err := cl.UnaryCall(ctx, &grpc_testing.SimpleRequest{}, grpc.FailFast(false))
_, err := cl.UnaryCall(ctx, &grpc_testing.SimpleRequest{}, grpc.WaitForReady(true))
if err != nil {
t.Errorf("simple RPC failed: %v", err)
}