提交 41a4ef65 编写于 作者: J Jesse Glick

Random failure.

https://jenkins.ci.cloudbees.com/job/core/job/jenkins_main_trunk/1199/testReport/hudson.tasks/FingerprinterTest/fingerprintCleanup/
java.lang.AssertionError: expected:<[hudson.model.FreeStyleProject@590e5b8[test0]]> but was:<[]>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at hudson.tasks.FingerprinterTest.fingerprintCleanup(FingerprinterTest.java:302)
上级 8c59dc79
......@@ -47,6 +47,7 @@ import java.util.List;
import static org.junit.Assert.*;
import hudson.util.StreamTaskListener;
import org.junit.Assume;
import org.junit.BeforeClass;
import org.junit.Rule;
import org.junit.Test;
......@@ -286,6 +287,7 @@ public class FingerprinterTest {
@Bug(18417)
@Test
public void fingerprintCleanup() throws Exception {
Assume.assumeFalse("for p3.upstreamProjects expected:<[hudson.model.FreeStyleProject@590e5b8[test0]]> but was:<[]>", "https://jenkins.ci.cloudbees.com/job/core/job/jenkins_main_trunk/".equals(System.getenv("JOB_URL")));
// file names shouldn't matter
FreeStyleProject p1 = createFreeStyleProjectWithFingerprints(singleContents, singleFiles);
FreeStyleProject p2 = createFreeStyleProjectWithFingerprints(singleContents, singleFiles2);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册