提交 991cac9d 编写于 作者: K Kohsuke Kawaguchi

Revert "[JENKINS-17337] Added test for NPE.(cherry picked from commit...

Revert "[JENKINS-17337] Added test for NPE.(cherry picked from commit 1bf958af)"

This reverts commit 18b5f4f1.
It looks like this change depends on other test harness related changes.
It doesn't build on this branch.
上级 ec1f5138
......@@ -447,20 +447,4 @@ public class MatrixProjectTest extends HudsonTestCase {
assertNull(defaultExecutionStrategy.getSorter());
}
@Bug(17337)
@Test public void reload() throws Exception {
MatrixProject p = j.createMatrixProject();
AxisList axes = new AxisList();
axes.add(new TextAxis("p", "only"));
p.setAxes(axes);
String n = p.getFullName();
j.buildAndAssertSuccess(p);
j.jenkins.reload();
p = j.jenkins.getItemByFullName(n, MatrixProject.class);
assertNotNull(p);
MatrixConfiguration c = p.getItem("p=only");
assertNotNull(c);
assertNotNull(c.getBuildByNumber(1));
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册