We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be great to see where the managers are, so it's easier to shut them down if there's a stray one. Example new output:
> rake specjour Waiting for managers Managers found: 2 (thehostname.local:57406, thehostname.local:57407) Workers found: 16
Here's a patch that might rock it:
diff --git a/lib/specjour/dispatcher.rb b/lib/specjour/dispatcher.rb index 35370c3..7887856 100644 --- a/lib/specjour/dispatcher.rb +++ b/lib/specjour/dispatcher.rb @@ -74,12 +74,19 @@ module Specjour end rescue Timeout::Error end - puts "Managers found: #{managers.size}" + puts "Managers found: #{managers.size}#{print_manager_list}" abort unless managers.size > 0 - puts "Workers found: #{worker_size}" + puts " Workers found: #{worker_size}" printer.worker_size = worker_size end + def print_manager_list + return unless managers.size > 0 + result = " (" + result << managers.map {|mgr| "#{mgr.send(:drb_uri).host}:#{mgr.send(:drb_uri).port}"}.join(', ') + result << ")" + end + def printer @printer ||= Printer.start(all_specs) end
The text was updated successfully, but these errors were encountered:
Thanks for the patch, I'll try to get it in soon.
Sorry, something went wrong.
Added in 0.3.0.rc3 http://github.com/sandro/specjour/commit/967b7d797339f248bd406c645d1dc1cdfd63e604
No branches or pull requests
It would be great to see where the managers are, so it's easier to shut them down if there's a stray one. Example new output:
Here's a patch that might rock it:
The text was updated successfully, but these errors were encountered: