lib/rspactor/runner.rb in guillaumegentil-rspactor-0.4 vs lib/rspactor/runner.rb in guillaumegentil-rspactor-0.4.1
- old
+ new
@@ -63,9 +63,11 @@
end
def run_cucumber_command
cmd = [ruby_opts, cucumber_runner, cucumber_opts].flatten.join(' ')
@last_run_failed = run_command(cmd)
+ # Workaround for killing jruby process when used with celerity, cucumber and spork
+ # if you know how doing that better, please tell me: guillaumegentil@gmail.com
system('killall java') if options[:kill]
end
def last_run_failed?
@last_run_failed == false
\ No newline at end of file