Issue #2877 has been updated by Markus Roberts.

A very similar problem can be observed with the mongrel test; when 
spec/integration/network/server/mongrel.rb is run before any of the following 
tests:

* spec/unit/property/ordered_list.rb
* spec/unit/resource/reference.rb
* spec/unit/provider/ldap.rb
* spec/unit/util/selinux.rb
* spec/unit/util/feature.rb

the analogous test ("should not be reachable on the port and address assigned") 
fails.

To reproduce:

    touch spec/integration/network/server/mongrel.rb
    ruby spec/integration/network/server/mongrel.rb spec/unit/util/feature.rb 
-t 60 --format s --loadby mtime

----------------------------------------
Bug #2877: Test isolation: Spurious failure in 
spec/integration/network/server/webrick.rb
http://projects.reductivelabs.com/issues/2877

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: 


When spec/integration/network/server/webrick.rb is run with certain other tests 
a spurious failure is produced:

    should not be reachable on the port and address assigned (FAILED - #)

The effect has been observed when running the webrick tests before:

* spec/integration/file_serving/fileset.rb
* spec/integration/network/server/mongrel.rb
* spec/unit/type/file/group.rb
* spec/unit/rails/host.rb
* spec/unit/type/service.rb
* spec/unit/parameter.rb
* spec/integration/ssl/certificate_request.rb
* spec/unit/network/rest_authorization.rb

or after: 

* spec/integration/reference/providers.rb 
* spec/unit/other/transobject.rb          
* spec/unit/indirector/memory.rb          
* spec/unit/type/noop_metaparam.rb        
* spec/unit/node.rb                       
* spec/unit/type/filebucket.rb            

There are probably other confounding factors; at least, I can't come up with a 
plausible model to explain the observed effects.



To reproduce:

    touch spec/integration/network/server/webrick.rb
    ruby spec/integration/network/server/webrick.rb 
spec/integration/file_serving/fileset.rb -t 60 --format s --loadby mtime




-- 
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.


Reply via email to