Skip to content

Commit

Permalink
Wait for server (#785)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnugeorge authored and k8s-ci-robot committed Sep 20, 2019
1 parent 94a401e commit 18ca285
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 5 additions & 5 deletions cmd/suggestion/hyperopt/v1alpha3/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
grpcio
duecredit
grpcio==1.23.0
duecredit===0.7.0
cloudpickle==0.5.6
numpy>=1.13.3
scikit-learn>=0.19.0
scipy>=0.19.1
forestci
protobuf
googleapis-common-protos
forestci==0.3
protobuf==3.9.1
googleapis-common-protos==1.6.0
hyperopt==0.1.2
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ func (g *General) ValidateAlgorithmSettings(instance *suggestionsv1alpha3.Sugges
request := &suggestionapi.ValidateAlgorithmSettingsRequest{
Experiment: g.ConvertExperiment(e),
}
_, err = client.ValidateAlgorithmSettings(ctx, request)
// See https://github.com/grpc/grpc-go/issues/2636
// See https://github.com/grpc/grpc-go/pull/2503
_, err = client.ValidateAlgorithmSettings(ctx, request, grpc.WaitForReady(true))
statusCode, _ := status.FromError(err)

// validation error
Expand Down

0 comments on commit 18ca285

Please sign in to comment.