Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-2471

Fix JRuby client creation timeout in address spec

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: JRuby, Tests
    • None

      [2020-12-06 19:42:32.717]
      [2020-12-06 19:42:32.717]   1) Mongo::Address#socket when creating a socket uses the host, not the IP address
      [2020-12-06 19:42:32.717]      Failure/Error: @cv.wait(@lock, timeout)
      [2020-12-06 19:42:32.717]      
      [2020-12-06 19:42:32.717]      ExampleTimeout:
      [2020-12-06 19:42:32.717]        execution expired
      [2020-12-06 19:42:32.717]      # ./lib/mongo/semaphore.rb:30:in `block in wait'
      [2020-12-06 19:42:32.717]      # ./lib/mongo/semaphore.rb:29:in `wait'
      [2020-12-06 19:42:32.717]      # ./lib/mongo/cluster.rb:250:in `block in initialize'
      [2020-12-06 19:42:32.717]      # ./lib/mongo/cluster.rb:233:in `initialize'
      [2020-12-06 19:42:32.717]      # ./lib/mongo/client.rb:517:in `block in initialize'
      [2020-12-06 19:42:32.717]      # ./lib/mongo/client.rb:516:in `initialize'
      [2020-12-06 19:42:32.717]      # ./spec/support/client_registry.rb:111:in `new_global_client'
      [2020-12-06 19:42:32.717]      # ./spec/support/client_registry.rb:83:in `global_client'
      [2020-12-06 19:42:32.717]      # ./spec/support/authorization.rb:48:in `block in authorized_client'
      [2020-12-06 19:42:32.717]      # ./spec/support/authorization.rb:148:in `block in default_address'
      [2020-12-06 19:42:32.717]      # ./spec/mongo/address_spec.rb:210:in `block in address'
      [2020-12-06 19:42:32.717]      # ./spec/mongo/address_spec.rb:255:in `block in <main>'
      [2020-12-06 19:42:32.717]      # ./spec/lite_spec_helper.rb:124:in `block in /data/mci/9f4f0668b696bfbb65041735e141b520/src/spec/lite_spec_helper.rb'
      [2020-12-06 19:42:32.717]      # ./spec/lite_spec_helper.rb:123:in `block in /data/mci/9f4f0668b696bfbb65041735e141b520/src/spec/lite_spec_helper.rb'
      [2020-12-06 19:42:32.717]      # ./spec/lite_spec_helper.rb:106:in `block in /data/mci/9f4f0668b696bfbb65041735e141b520/src/spec/lite_spec_helper.rb'
      [2020-12-06 19:42:32.717]      # ./spec/support/background_thread_registry.rb:62:in `block in /data/mci/9f4f0668b696bfbb65041735e141b520/src/spec/support/background_thread_registry.rb'
      [2020-12-06 19:42:32.717]
      

            Assignee:
            dmitry.rybakov@mongodb.com Dmitry Rybakov
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: