Skip to content
Snippets Groups Projects
Commit 36d6f781 authored by Craig Tiller's avatar Craig Tiller
Browse files

Count pings

parent 3e0d9361
No related branches found
No related tags found
No related merge requests found
...@@ -730,6 +730,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { ...@@ -730,6 +730,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
// send a ping on a channel // send a ping on a channel
case 18: { case 18: {
if (g_channel != NULL) { if (g_channel != NULL) {
pending_pings++;
grpc_channel_ping(g_channel, cq, grpc_channel_ping(g_channel, cq,
create_validator(decrement, &pending_pings), NULL); create_validator(decrement, &pending_pings), NULL);
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment