grpc_maybe_wait_for_async_shutdown();
}
+static void test_repeatedly_blocking() {
+ for (int i = 0; i < 1000; i++) {
+ grpc_init();
+ grpc_shutdown_blocking();
+ }
+}
+
int main(int argc, char** argv) {
grpc::testing::TestEnvironment env(argc, argv);
test(1);
test_mixed();
test_plugin();
test_repeatedly();
+ test_repeatedly_blocking();
return 0;
}