Skip to content

Commit d5319fa

Browse files
author
Vincent Landgraf
committed
Fixes #9 only do flaky gc/memory tests if env contains PERF=1
1 parent 43f15c0 commit d5319fa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

spec/vmstat_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
Vmstat.loopback_devices.size.should == 1
2525
end
2626
end
27-
27+
2828
context "performance" do
2929
percent = RUBY_VERSION.to_i == 2 ? 26 : 10
3030

@@ -44,5 +44,5 @@
4444
it_should_behave_like "a not memory leaking method", :disk, "/"
4545
it_should_behave_like "a not memory leaking method", :boot_time
4646
it_should_behave_like "a not memory leaking method", :load_average
47-
end
47+
end if ENV['PERF'] == "1"
4848
end

0 commit comments

Comments
 (0)