summaryrefslogtreecommitdiff
path: root/spec/stress/win32
diff options
context:
space:
mode:
Diffstat (limited to 'spec/stress/win32')
-rw-r--r--spec/stress/win32/file_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/stress/win32/file_spec.rb b/spec/stress/win32/file_spec.rb
index ef01aa632c..22de7ecd03 100644
--- a/spec/stress/win32/file_spec.rb
+++ b/spec/stress/win32/file_spec.rb
@@ -25,10 +25,16 @@ describe 'Chef::ReservedNames::Win32::File', :windows_only do
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)
+ end
+
it "should not leak handles" do
test = lambda { Chef::ReservedNames::Win32::File.symlink?(@path) }
test.should_not leak_handles(:warmup => 50, :iterations => 100)