RSpec对等式不确定地运行

问题描述 投票:1回答:1

此问题与此不同:rspec Bisect Runs Indefinitely

我的测试套件需要±10分钟才能运行。当我运行bundle exec rspec --bisect=verbose时,它停留了1个多小时(这是我等待的时间最长):

bundle exec rspec --bisect=verbose
AssetSync: using /home/belasis/dev/deploy_webapp/config/initializers/asset_sync.rb
Bisect started using options: "" and bisect runner: :fork
Running suite to find failures...

我按下Ctrl C后,出现此消息:

Bisect aborted!

The most minimal reproduction command discovered so far is:
  (Not yet enough information to provide any repro command)

因此,问题在于它什么也不运行,也没有给出错误消息。那怎么可能?

rspec rspec-rails rspec3
1个回答
0
投票

我有时会遇到这种情况,有时唯一可行的解​​决方法是尝试使用不同的RSpec版本。

尝试对其进行降级/升级(如果使用Bundder会很容易),请尝试直到它起作用或失去希望为止。

但是,如果您找到更好的解决方法,甚至是真正的解决方案,请共享一下:)

© www.soinside.com 2019 - 2024. All rights reserved.