From 48d67df36c869ceed348681258c839db037c6bab Mon Sep 17 00:00:00 2001 From: Molly Waggett Date: Thu, 30 Apr 2020 15:52:52 -0700 Subject: [PATCH] (maint) Remove second non_module_object from test After increasing the default pool_size, a bug surfaced when attempting to install multiple objects from the same git source. We attempt to cache both objects, but the second attempt fails because we try to clone to the same destination. We don't think this is common behavior and this test does not need two objects to test what it's testing. --- .../tests/purging/content_not_purged_at_root.rb | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/integration/tests/purging/content_not_purged_at_root.rb b/integration/tests/purging/content_not_purged_at_root.rb index e32b74878..118f837a0 100644 --- a/integration/tests/purging/content_not_purged_at_root.rb +++ b/integration/tests/purging/content_not_purged_at_root.rb @@ -32,11 +32,6 @@ :install_path => './', :git => 'git://github.com/puppetlabs/control-repo.git', :branch => 'production' - -mod 'non_module_object_2', - :install_path => '', - :git => 'git://github.com/puppetlabs/control-repo.git', - :branch => 'production' EOS puppetfile_2 = <<-EOS @@ -81,9 +76,3 @@ non_module_error = 'Non-module object was purged; should have been left alone' assert(result.exit_code == 0, non_module_error) end - -step 'Verify that non-module object 2 has not been purged' -on(master, "test -d #{code_dir}/non_module_object_2", :accept_all_exit_codes => true) do |result| - non_module_error = 'Non-module object was purged; should have been left alone' - assert(result.exit_code == 0, non_module_error) -end