Skip to content

Commit

Permalink
Work-around for Ruby test crash
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardnormier committed Mar 11, 2024
1 parent 64423eb commit 6d9abc5
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions ruby/test/Ice/objects/AllTests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,15 @@ def test(b)
def allTests(helper, communicator)

factory = MyValueFactory.new
communicator.getValueFactoryManager().add(factory, '::Test::B')
communicator.getValueFactoryManager().add(factory, '::Test::C')
valueFactoryManager = communicator.getValueFactoryManager()
test(valueFactoryManager != nil)
valueFactoryManager.add(factory, '::Test::B')
valueFactoryManager.add(factory, '::Test::C')
#communicator.getValueFactoryManager().add(factory, '::Test::D')
communicator.getValueFactoryManager().add(factory, '::Test::E')
communicator.getValueFactoryManager().add(factory, '::Test::F')
communicator.getValueFactoryManager().add(factory, '::Test::I')
communicator.getValueFactoryManager().add(factory, '::Test::J')
valueFactoryManager.add(factory, '::Test::E')
valueFactoryManager.add(factory, '::Test::F')
valueFactoryManager.add(factory, '::Test::I')
valueFactoryManager.add(factory, '::Test::J')

print "testing stringToProxy... "
STDOUT.flush
Expand Down

0 comments on commit 6d9abc5

Please sign in to comment.