提交 fefb2d0b 编写于 作者: J Jesse Glick

Diagnosis of unreproducible test failure.

https://ci.jenkins-ci.org/job/jenkins_main_trunk/2449/testReport/hudson.console/ConsoleAnnotatorTest/testCompletedStatelessLogAnnotation/
junit.framework.AssertionFailedError: expected:<3> but was:<4>
	at junit.framework.Assert.fail(Assert.java:57)
	at junit.framework.Assert.failNotEquals(Assert.java:329)
	at junit.framework.Assert.assertEquals(Assert.java:78)
	at junit.framework.Assert.assertEquals(Assert.java:234)
	at junit.framework.Assert.assertEquals(Assert.java:241)
	at junit.framework.TestCase.assertEquals(TestCase.java:409)
	at hudson.console.ConsoleAnnotatorTest.testCompletedStatelessLogAnnotation(ConsoleAnnotatorTest.java:69)
上级 9eb69772
......@@ -66,7 +66,8 @@ public class ConsoleAnnotatorTest extends HudsonTestCase {
assertTrue(raw.getContent().contains(nl+"---"+nl+"ooo"+nl+"ooo"+nl));
// there should be two 'ooo's
assertEquals(3,rsp.asXml().split("ooo").length);
String xml = rsp.asXml();
assertEquals(xml, 3, xml.split("ooo").length);
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册