diff options
author | sersut <serdar@opscode.com> | 2014-07-14 15:58:06 -0700 |
---|---|---|
committer | sersut <serdar@opscode.com> | 2014-07-14 15:58:06 -0700 |
commit | e3a378695aa174f1f95455643a2240d903797640 (patch) | |
tree | d822d46b89b12c11ed2dc3cc62d22cfe643d702a /spec/stress | |
parent | 1bef09fa00d55c07095edb21fdc338f1e92956ef (diff) | |
download | chef-e3a378695aa174f1f95455643a2240d903797640.tar.gz |
Make the windows memory leak test more robust.
Diffstat (limited to 'spec/stress')
-rw-r--r-- | spec/stress/win32/file_spec.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/spec/stress/win32/file_spec.rb b/spec/stress/win32/file_spec.rb index 22de7ecd03..caeab352f7 100644 --- a/spec/stress/win32/file_spec.rb +++ b/spec/stress/win32/file_spec.rb @@ -24,15 +24,9 @@ describe 'Chef::ReservedNames::Win32::File', :windows_only do @path = File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "data", "old_home_dir", "my-dot-emacs")) end - it "should not leak memory" do - pending "Fix required for CHEF-5004" - test = lambda { Chef::ReservedNames::Win32::File.symlink?(@path) } - test.should_not leak_memory(:warmup => 50, :iterations => 100) - end - it "should not leak significant memory" do test = lambda { Chef::ReservedNames::Win32::File.symlink?(@path) } - test.should_not leak_memory(:warmup => 50000, :iterations => 100) + test.should_not leak_memory(:warmup => 50000, :iterations => 50000) end it "should not leak handles" do |