1

我在我的 mac os x shell 上运行以下命令:

RAILS_ENV=test rake spec --trace
** Invoke spec (first_time)
** Invoke db:test:prepare (first_time)
** Invoke db:abort_if_pending_migrations (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:abort_if_pending_migrations
** Execute db:test:prepare
** Invoke db:test:clone_structure (first_time)
** Invoke db:structure:dump (first_time)
** Invoke environment 
** Execute db:structure:dump
** Invoke db:test:purge (first_time)
** Invoke environment 
** Execute db:test:purge
** Execute db:test:clone_structure
** Execute spec

这个命令在这里停止了超过 5 分钟才继续,所以我不知道发生了什么导致这个大的延迟。

关于如何找到减慢“执行规范”的任何想法?

谢谢

4

0 回答 0