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

App metadata test assumes Linux, fails on Mac OS

      Getting the following errors using a Mac OS. 

      rspec './spec/mongo/server/app_metadata_spec.rb[1:2:2:2]' # Mongo::Server::AppMetadata#document behaves like app metadata document includes operating system information
      
      rspec './spec/mongo/server/monitor/app_metadata_spec.rb[1:1:2:2]' # Mongo::Server::Monitor::AppMetadata#document behaves like app metadata document includes operating system information
      
      Mongo::Server::Monitor::AppMetadata#document behaves like app metadata document includes operating system information
           Failure/Error: document[:client][:os][:type].should == 'linux'
           
             expected: "linux"
                  got: "darwin" (using ==)
           Shared Example Group: "app metadata document" called from ./spec/mongo/server/monitor/app_metadata_spec.rb:21
           # ./spec/mongo/server/app_metadata_shared.rb:12:in `block (2 levels) in <top (required)>'
           # /Library/Ruby/Gems/2.6.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
           # /Library/Ruby/Gems/2.6.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
           # /Library/Ruby/Gems/2.6.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
           # /Library/Ruby/Gems/2.6.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
           # /Library/Ruby/Gems/2.6.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
           # ./spec/support/background_thread_registry.rb:62:in `block (2 levels) in <top (required)>'
      

            Assignee:
            dmitry.rybakov@mongodb.com Dmitry Rybakov
            Reporter:
            grace.chong@mongodb.com Grace Chong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: