Skip to content

Commit

Permalink
[EmbeddedAnsible::ConfigurationScriptSource] stub REPO_DIR
Browse files Browse the repository at this point in the history
Stubbing the REPO_DIR in travis attempts to prevent issues with parallel
specs running on travis that cause the file system to become
contaminated.
  • Loading branch information
NickLaMuro committed Jun 19, 2019
1 parent 239686f commit 874e2a8
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@
repo.create_branch("other_branch")
# END: Setup local repo used for this spec

# Stub REPO_DIR for travis
stub_const("#{described_class}::REPO_DIR", Pathname.new(Dir.mktmpdir))

EvmSpecHelper.assign_embedded_ansible_role
end

Expand Down

0 comments on commit 874e2a8

Please sign in to comment.