Bug #2468
Webrick spec hangs ~0.5% of the time
| Status: | Duplicate | Start date: | 07/29/2009 | |
|---|---|---|---|---|
| Priority: | Low | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | testing | |||
| Target version: | - | |||
| Affected Puppet version: | 0.25.0 | Branch: | ||
| Keywords: | ||||
| Votes: | 0 |
Description
The webrick spec hangs waiting for a thread join about one out of every 200 times. Breaking (C) produces a failure such as this:
Puppet::Network::Server when using webrick before listening - should not be reachable at the specified address and port Puppet::Network::Server when using webrick when listening - should be reachable on the specified address and port - should default to '0.0.0.0' as its bind address - should use any specified bind address - should not allow multiple servers to listen on the same address and port Puppet::Network::Server when using webrick after unlistening - should not be reachable on the port and address assigned (FAILED - 1) 1) Interrupt in 'Puppet::Network::Server when using webrick after unlistening should not be reachable on the port and address assigned' ./spec/../lib/puppet/network/http/webrick.rb:48:in `join' ./spec/../lib/puppet/network/http/webrick.rb:48:in `unlisten' ./spec/../lib/puppet/network/http/webrick.rb:45:in `synchronize' ./spec/../lib/puppet/network/http/webrick.rb:45:in `unlisten' ./spec/../lib/puppet/network/server.rb:136:in `unlisten' ./spec/integration/network/server/webrick.rb:81: ./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in `run' ./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `each' ./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in `run' Finished in 2759.731572 seconds
I believe this is symptomatic of other problems (test isolation) and not worth pursuing in its own right. If the problem persists after the test isolation issues have been cleared up, it should be investigated.
Related issues
History
Updated by Markus Roberts over 2 years ago
- Status changed from Needs More Information to Duplicate