mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-12-15 22:31:50 +01:00
Try fixing Timer bug
Change-Id: I044c0f5c8eb9874b4508da216a827c86fdd8b436
This commit is contained in:
parent
af797185a5
commit
a546afc37a
@ -13,7 +13,6 @@ import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.onlab.onos.net.ConnectPoint;
|
||||
import org.onlab.onos.net.Device;
|
||||
@ -82,7 +81,6 @@ public class HostMonitorTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void testMonitorHostDoesNotExist() throws Exception {
|
||||
HostManager hostManager = createMock(HostManager.class);
|
||||
|
||||
|
||||
@ -28,8 +28,9 @@ public final class Timer {
|
||||
|
||||
private static synchronized void initTimer() {
|
||||
if (Timer.timer == null) {
|
||||
Timer.timer = new HashedWheelTimer();
|
||||
Timer.timer.start();
|
||||
HashedWheelTimer hwTimer = new HashedWheelTimer();
|
||||
hwTimer.start();
|
||||
Timer.timer = hwTimer;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user