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

OldDataMonitorTest.robustness consistently passes for me locally, but has been...

OldDataMonitorTest.robustness consistently passes for me locally, but has been causing trouble in CI. Suppressing for now.
上级 43f218cd
......@@ -31,12 +31,12 @@ import java.lang.ref.WeakReference;
import java.util.Collections;
import jenkins.model.lazy.BuildReference;
import static org.junit.Assert.*;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.jvnet.hudson.test.Bug;
import org.jvnet.hudson.test.JenkinsRule;
import org.jvnet.hudson.test.MemoryAssert;
import org.jvnet.hudson.test.RandomlyFails;
import org.jvnet.hudson.test.recipes.LocalData;
public class OldDataMonitorTest {
......@@ -48,6 +48,7 @@ public class OldDataMonitorTest {
@Rule public JenkinsRule r = new JenkinsRule();
@Ignore("constantly failing on CI builders, makes problems for memory()")
@Bug(19544)
@LocalData
@Test public void robustness() throws Exception {
......@@ -68,7 +69,6 @@ public class OldDataMonitorTest {
// did not manage to save p, but at least we are not holding onto a reference to it anymore
}
@RandomlyFails("actually it is robustness() that is claimed to fail, with an InterruptedException in before(), perhaps because memory() took many minutes to run")
@Bug(19544)
@Test public void memory() throws Exception {
FreeStyleProject p = r.createFreeStyleProject("p");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册