You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like parallel test execution has been broken since 1.17.1 was released. I get the following output when executing bundle exec onceover run spec --parallel on every version after 1.17.0:
Error while running: #<NoMethodError: undefined method `cooked!' for #<IO:<STDERR>>>
The text was updated successfully, but these errors were encountered:
Confirmed that adding require 'io/console' worked. Thanks! I'm guessing this will be officially fixed with the next release, since #280 has already been merged.
STDERR.cooked! if STDERR.isatty && STDERR.respond_to?(:cooked!)
Or perhaps we could even do this incase there is no TTY and the #cooked! isn't available either.
begin
STDERR.raw! if STDERR.isatty
result = Backticks::Runner.new(interactive: true).run(args.flatten).join
ensure
begin
STDERR.cooked! if STDERR.isatty
rescue NoMethodError
STDERR.write("My custom error message...")
end
end
It looks like parallel test execution has been broken since 1.17.1 was released. I get the following output when executing
bundle exec onceover run spec --parallel
on every version after 1.17.0:Error while running: #<NoMethodError: undefined method `cooked!' for #<IO:<STDERR>>>
The text was updated successfully, but these errors were encountered: