diff options
author | Craig Tiller <ctiller@google.com> | 2017-05-16 13:38:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-16 13:38:09 -0700 |
commit | 82713635e15011beea6b592887f03c512969c7e8 (patch) | |
tree | 1a5e102e739c510551e195ad3da7114c4a59ffc8 /test | |
parent | 081c442462a21f326ff08f47ff1cd9a17c6746ea (diff) | |
parent | f09957bd04a8bb54d220e8ecebb393931624a48b (diff) |
Merge pull request #11135 from ctiller/bugz
Fix some job runner bugs, save some initialization passes for port selection
Diffstat (limited to 'test')
-rw-r--r-- | test/core/util/port.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/core/util/port.c b/test/core/util/port.c index da1ed4e052..271ff226a7 100644 --- a/test/core/util/port.c +++ b/test/core/util/port.c @@ -77,9 +77,11 @@ static int free_chosen_port(int port) { static void free_chosen_ports(void) { size_t i; + grpc_init(); for (i = 0; i < num_chosen_ports; i++) { grpc_free_port_using_server(chosen_ports[i]); } + grpc_shutdown(); gpr_free(chosen_ports); } |