Skip to content

two tests failing on debian sid #9

@pravi

Description

@pravi

I'm packaging vmstat for debian and found two test failing

**Failures:

  1) Vmstat::Disk Vmstat#disk content type should be a kind of Symbol
     Failure/Error: its(:type) { should be_a(Symbol) }
       expected nil to be a kind of Symbol
     # ./spec/vmstat/disk_spec.rb:43:in `block (4 levels) in <top (required)>'

  2) Vmstat performance it should behave like a not memory leaking method should not grow the memory in method boot_time more than 26% 
     Failure/Error: mem_after.should < (mem_before * (1 + percent / 100.0))

       expected: < 5751.9
            got:   6636
     Shared Example Group: "a not memory leaking method" called from ./spec/vmstat_spec.rb:43
     # ./spec/vmstat_spec.rb:35:in `block (4 levels) in <top (required)>'

**
$ ruby -v
ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]
$ rspec -v
3.4.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions