diff options
author | ncteisen <ncteisen@gmail.com> | 2017-05-05 10:27:17 -0700 |
---|---|---|
committer | ncteisen <ncteisen@gmail.com> | 2017-05-05 10:27:17 -0700 |
commit | fde16afefa41510c6dc06afd88bfd6c3002467b5 (patch) | |
tree | 143deed3716f5b13f9340d7f57de27379a255e37 /test/core/end2end/tests/resource_quota_server.c | |
parent | cc7e17b2d6d015d88b94c0d3b089a65e0450614b (diff) | |
parent | 6815e414a4dbca4d0d4dd62b5ec3c6faa60c9bb9 (diff) |
Merge branch 'master' of https://github.com/grpc/grpc into serialization-refactor
Diffstat (limited to 'test/core/end2end/tests/resource_quota_server.c')
-rw-r--r-- | test/core/end2end/tests/resource_quota_server.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/core/end2end/tests/resource_quota_server.c b/test/core/end2end/tests/resource_quota_server.c index 2453ca1b89..6418f5d01a 100644 --- a/test/core/end2end/tests/resource_quota_server.c +++ b/test/core/end2end/tests/resource_quota_server.c @@ -169,6 +169,7 @@ void resource_quota_server(grpc_end2end_test_config config) { int cancelled_calls_on_client = 0; int cancelled_calls_on_server = 0; int deadline_exceeded = 0; + int unavailable = 0; grpc_byte_buffer *request_payload = grpc_raw_byte_buffer_create(&request_payload_slice, 1); @@ -260,6 +261,9 @@ void resource_quota_server(grpc_end2end_test_config config) { case GRPC_STATUS_DEADLINE_EXCEEDED: deadline_exceeded++; break; + case GRPC_STATUS_UNAVAILABLE: + unavailable++; + break; case GRPC_STATUS_OK: break; default: @@ -358,9 +362,9 @@ void resource_quota_server(grpc_end2end_test_config config) { gpr_log(GPR_INFO, "Done. %d total calls: %d cancelled at server, %d cancelled at " - "client, %d timed out.", + "client, %d timed out, %d unavailable.", NUM_CALLS, cancelled_calls_on_server, cancelled_calls_on_client, - deadline_exceeded); + deadline_exceeded, unavailable); grpc_byte_buffer_destroy(request_payload); grpc_slice_unref(request_payload_slice); |