Issue #2850 has been updated by Markus Roberts. Subject changed from Test issolation: spec/unit/application/puppetd.rb generates warnings if run after certain other tests to Test issolation: spec/unit/application/puppetd.rb generates warnings if run with certain other tests
It appears that the problem (in at least some cases) is order invariant; touching the other file (so that it runs before the puppetd test instead of after) produces analogous results. ---------------------------------------- Bug #2850: Test issolation: spec/unit/application/puppetd.rb generates warnings if run with certain other tests http://projects.reductivelabs.com/issues/2850 Author: Markus Roberts Status: Accepted Priority: Low Assigned to: Jesse Wolfe Category: testing Target version: 0.25.2 Affected version: 0.25.1 Keywords: Branch: Some of the tests in "spec/unit/application/puppetd.rb" generate warnings of the form: Could not autoload _______: can't convert nil into String If they are run after other tests. To reproduce this, type: touch spec/unit/provider/service/daemontools.rb ruby spec/unit/provider/service/daemontools.rb spec/unit/application/puppetd.rb -t 60 --format s --loadby mtime which will produce Could not autoload file: can't convert nil into String The deamontools test is not unique in this regard; similar effects can be observed with any of the following: spec/integration/provider/mailalias/aliases.rb spec/integration/provider/package.rb spec/integration/provider/service/init.rb spec/integration/type/file.rb spec/integration/type/package.rb spec/integration/type/tidy.rb spec/unit/network/rest_authconfig.rb spec/unit/other/selinux.rb spec/unit/provider/augeas/augeas.rb spec/unit/provider/group/groupadd.rb spec/unit/provider/group/ldap.rb spec/unit/provider/macauthorization.rb spec/unit/provider/mcx/mcxcontent.rb spec/unit/provider/mount/parsed.rb spec/unit/provider/package/apt.rb spec/unit/provider/package/dpkg.rb spec/unit/provider/package/gem.rb spec/unit/provider/package/hpux.rb spec/unit/provider/package/pkgdmg.rb spec/unit/provider/selboolean.rb spec/unit/provider/selmodule.rb spec/unit/provider/service/daemontools.rb spec/unit/provider/service/debian.rb spec/unit/provider/service/init.rb spec/unit/provider/service/launchd.rb spec/unit/provider/service/redhat.rb spec/unit/provider/service/runit.rb spec/unit/provider/ssh_authorized_key/parsed.rb spec/unit/provider/user/hpux.rb spec/unit/provider/user/ldap.rb spec/unit/provider/user/user_role_add.rb spec/unit/provider/user/useradd.rb spec/unit/provider/zfs/solaris.rb spec/unit/provider/zone/solaris.rb spec/unit/provider/zpool/solaris.rb spec/unit/type/augeas.rb spec/unit/type/computer.rb spec/unit/type/cron.rb spec/unit/type/exec.rb spec/unit/type/file.rb spec/unit/type/file/content.rb spec/unit/type/file/ensure.rb spec/unit/type/file/group.rb spec/unit/type/file/owner.rb spec/unit/type/file/selinux.rb spec/unit/type/file/source.rb spec/unit/type/filebucket.rb spec/unit/type/group.rb spec/unit/type/macauthorization.rb spec/unit/type/maillist.rb spec/unit/type/mount.rb spec/unit/type/nagios.rb spec/unit/type/noop_metaparam.rb spec/unit/type/package.rb spec/unit/type/resources.rb spec/unit/type/schedule.rb spec/unit/type/selboolean.rb spec/unit/type/selmodule.rb spec/unit/type/service.rb spec/unit/type/ssh_authorized_key.rb spec/unit/type/tidy.rb spec/unit/type/user.rb spec/unit/type/zfs.rb spec/unit/type/zone.rb spec/unit/type/zpool.rb and possibly others. -- 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://reductivelabs.com/redmine/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.
