test/backend/process_info_test.rb in instana-1.209.3 vs test/backend/process_info_test.rb in instana-1.209.4
- old
+ new
@@ -63,10 +63,10 @@
def test_osx_memory_used
host_os = RbConfig::CONFIG['host_os']
RbConfig::CONFIG['host_os'] = 'darwin'
- subject = Instana::Backend::ProcessInfo.new(OpenStruct.new(rss: 1024))
+ subject = Instana::Backend::ProcessInfo.new(OpenStruct.new(rss: 1))
assert_equal 1, subject.memory_used
ensure
RbConfig::CONFIG['host_os'] = host_os
end