Issue #9408 has been updated by Dan Bode. Status changed from Accepted to Merged - Pending Release
merged in commit: c4395ce ---------------------------------------- Bug #9408: jenkins test failure - file path expansion issue https://projects.puppetlabs.com/issues/9408 Author: Dan Bode Status: Merged - Pending Release Priority: Immediate Assignee: Dan Bode Category: Target version: Keywords: Branch: The jenkins build failed with the following error: <pre> 1) Puppet::CloudPack::Installer when searching for file location should be able to use a lib version Failure/Error: installer_klass.find_template('puppet-enterprise').should == File.join(scripts_dir, 'puppet-enterprise.erb') expected: "/home/jenkins/workspace/Cloud Provisioner Unit/lib/puppet/cloudpack/scripts/puppet-enterprise.erb" got: "/home/jenkins/workspace/Cloud Provisioner Unit/spec/../lib/puppet/cloudpack/scripts/puppet-enterprise.erb" (using ==) # ./spec/unit/puppet/cloudpack/installer_spec.rb:32 <pre> The problem is that the spec_helper is messing with the load path which causes __FILE__ to return a relative path. The best fix is just to update the test to expand_path. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
