Add some missing tests to the test setting of Bazel for Ruby (#19870)
I'm not sure why, but it seems that some tests are not running via Bazel. CI uses Bazel. So I think we should add those to test correctly. Also, I fixed some tests to pass. * Run memory tests against CRuby native implementation * These tests are for CRuby native implementation. So this doesn't work with FFI and JRuby. * Ref: https://github.com/protocolbuffers/protobuf/pull/15840/ * Run service options extension test against CRuby native implementation * It seems that JRuby doesn't support this so far. * And, service options are frozen objects. But, in CRuby FFI, can't get a Message instance if the message is frozen. So this doesn't work. *pull/20179/headd406cae013/ruby/lib/google/protobuf/ffi/message.rb (L419)
* So the service options extension test only passes in CRuby native. Closes #19870 COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/19870 from y-yagi:add_some_missing_testsd51158def9
PiperOrigin-RevId: 721603213
parent
b168fda877
commit
fd20cfcd8c
3 changed files with 23 additions and 0 deletions
Loading…
Reference in new issue