2015-04-02 155 views
0

我正在使用Jruby 1.6.8和Rails 3.1進行TestUnit和Capybara測試,在做了一些測試之後,我開始看到「運行測試的錯誤:單個! 」。它發生在我身上,但在再次啓動測試後,它已經修復。Jruby + Testunit +水豚

我推出這個命令:

jruby --debug -S rake test TEST=path_to_my_test 

,甚至與嘗試:rake test TEST=path_to_my_test我不能修復它。

這裏有我的日誌:

OpenJDK 64-Bit Server VM warning: You have loaded library /home/jmolina/.rvm/rubies/jruby-1.6.8/lib/native/i386-Linux/libjffi-1.0.so which might have disabled stack guard. The VM will try to fix the stack guard now. 
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'. 
Errors running test:single! 

有誰知道這是怎麼回事?

預先感謝您。

回答

0

最後,我意識到我的測試數據庫被刪除(我不知道爲什麼)。所以我重新創建它,現在它工作正常。