diff options
-rw-r--r-- | test/core/surface/multi_init_test.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/core/surface/multi_init_test.c b/test/core/surface/multi_init_test.c index 3607c42453..dced882574 100644 --- a/test/core/surface/multi_init_test.c +++ b/test/core/surface/multi_init_test.c @@ -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; } |