Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Turns out when bazel run ios unit test, gtest's SetupTestSuite are invoked per unit test case, which would trigger assertion failure on duplicate registry on the 2nd and subsequent test case runs.
Alternative fix for calling ShutdownRegistry in test suite teardown doesn't seem to work as this seems to have reset internal states and causes all test case failures.
Follow up with grpc/grpc-ios#41 for investigating into why iOS is loading / running test this way.