提交 1447b718 编写于 作者: K kohsuke

fixed test problems

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@15672 71c3de6d-444a-0410-be80-ed276b4c234a
上级 f7210902
......@@ -53,7 +53,7 @@ public class SCMTriggerTest extends HudsonTestCase {
FreeStyleProject p = createFreeStyleProject();
final Object notifier = new Object();
p.setScm(new TestSCM(notifier));
SCMTrigger.DESCRIPTOR.synchronousPolling = true;
hudson.getDescriptorByType(SCMTrigger.DescriptorImpl.class).synchronousPolling = true;
SCMTrigger trigger = new SCMTrigger("0 0 1 1 0");
p.addTrigger(trigger);
trigger.start(p, true);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册