简体   繁体   English

詹金斯总是通过,尽管在rails中的测试失败

[英]jenkins always passes though test in rails fails

I am running jenkins with ubuntu 10.04 slave. 我正在使用ubuntu 10.04 slave运行jenkins。 In slave, I have configured rails 2.3.14 and metrical in the slave. 在从站中,我在从站中配置了导轨2.3.14和公制。 Though one of the test cases fails, Jenkins reports that build has passed. 尽管其中一个测试用例失败,但詹金斯报告该构建已通过。

Please help and I have no clue as to what is happening. 请帮助,我不知道发生了什么。

Since the actual build is happening out of jenkins slave, we are expected to have JVM options, PATH set for the jenkins slave. 由于实际的构建是在jenkins从属服务器之外进行的,因此我们希望为jenkins从属服务器设置JVM选项和PATH。

My Jenkins slave's JVM options is set as 我的Jenkins从站的JVM选项设置为
-Xmx1300m -Xms500M -XX:PermSize=256M -XX:MaxPermSize=256M -Xss8m

This solves the problem. 这样就解决了问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 rails:设计有效的单元测试总是在它失败时通过 - rails: devise validatable unit test always passes when it should fail Rails测试因夹具失败,但通过直接对象创建而通过 - Rails test fails with fixture but passes with direct object creation 使用webkit测试失败,使用selenium - Test fails with webkit, passes with selenium Cucumber,Rails:has_content? 即使字符串不存在,测试也会通过 - Cucumber, Rails: has_content? test passes even though the string isn't there Rails 密码重置测试在单独运行时通过但在运行整个测试套件时失败 - Rails Password Reset Test Passes When Run Individually But Fails When Running the Entire Test Suite Rails 2.3.2单元测试在使用正常红宝石运行时通过,而在瑞克测试运行时失败: - Rails 2.3.2 unit test passes when run with normal ruby, fails when run with rake test:units Rails会话第一次失败并通过重新加载 - Rails sessions fails first time and passes on reload Feature Spec在RSpec中每次都通过,在Jenkins中失败 - Feature Spec passes every time in RSpec, Fails in Jenkins Rails测试无法断言链接的存在,即使它实际上在浏览器上有效 - Rails test fails for asserting the presence of a link, even though it actually works on the browser Rails电子邮件测试失败 - Rails email test fails
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM