2015-04-02 152 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

最后,我意识到我的测试数据库被删除(我不知道为什么)。所以我重新创建它,现在它工作正常。