lib/actir/parallel_tests/cli.rb in actir-1.2.5 vs lib/actir/parallel_tests/cli.rb in actir-1.2.6

- old
+ new

@@ -61,10 +61,11 @@ #更新百度支付-百付宝的cookies if options[:update] begin Actir::CookiesBaidu.update_all rescue Exception => e - #若更新baidu_cookies失败,则打印错误信息,并中断测试执行 + #若更新baidu_cookies失败,则关闭浏览器,打印错误信息,并中断测试执行 + # Actir::CookiesBaidu.clear_after_failure puts "Exception: #{e.message} in" puts e.backtrace abort "update baidu cookies failed!!!" end end