提交 65108e42 编写于 作者: J James Nord

[JENKINS-28683] Fix unit test and remove unised import.

上级 198c7312
......@@ -23,7 +23,7 @@ public class APeriodicWorkTest {
public void newExtensionsAreScheduled() throws Exception {
TestAperiodicWork tapw = new TestAperiodicWork();
int size = PeriodicWork.all().size();
int size = AperiodicWork.all().size();
ExtensionList.lookup(AperiodicWork.class).add(tapw);
assertThat("we have one new AperiodicWork", AperiodicWork.all(), hasSize(size+1));
......
......@@ -2,7 +2,6 @@ package hudson.model;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicInteger;
import org.junit.Rule;
import org.junit.Test;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册