grpc / grpc-ios

gRPC for iOS
Apache License 2.0
39 stars 22 forks source link

Cpp test authorization_policy_provider_test_on_ios. StaticDataCreateReturnsProvider test crash #43

Closed dennycd closed 2 years ago

dennycd commented 2 years ago

Sample

dennycd commented 2 years ago

Screen Shot 2021-10-29 at 8 52 48 AM

dennycd commented 2 years ago

Looks like issue due to policy json data not being able to load in ios unit test target

https://github.com/grpc/grpc/blob/master/test/cpp/server/BUILD#L85-L88

ashithasantosh commented 2 years ago

That is weird. I am simply trying to read file contents in that path. Is this a consistent failure or is it flaky?

Yeah, even I think the issue may be in loading json data. Since I wasn't notified on failures in other configurations, maybe it is something ios specific. Let me look into BUILD target.

ashithasantosh commented 2 years ago

I ran authorization_policy_provider_test locally on mac OS, and it passed for me. This makes me feel like the issue here could be an ios problem, and not related to the code. Also the test seems to be running successfully for other platforms.

dennycd commented 2 years ago

already fixed