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

Add mixed shutdown/init test

parent 35108f65
No related branches found
No related tags found
No related merge requests found
......@@ -44,10 +44,20 @@ static void test(int rounds) {
}
}
static void test_mixed() {
grpc_init();
grpc_init();
grpc_shutdown();
grpc_init();
grpc_shutdown();
grpc_shutdown();
}
int main(int argc, char **argv) {
grpc_test_init(argc, argv);
test(1);
test(2);
test(3);
test_mixed();
return 0;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment