Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Yuta HIGUCHI
2014-10-06 21:44:48 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a546afc37acffed4428e5481a6aadb0b425c89a1
a546afc3
1 parent
af797185
Try fixing Timer bug
Change-Id: I044c0f5c8eb9874b4508da216a827c86fdd8b436
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
core/net/src/test/java/org/onlab/onos/net/host/impl/HostMonitorTest.java
utils/misc/src/main/java/org/onlab/util/Timer.java
core/net/src/test/java/org/onlab/onos/net/host/impl/HostMonitorTest.java
View file @
a546afc
...
...
@@ -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
);
...
...
utils/misc/src/main/java/org/onlab/util/Timer.java
View file @
a546afc
...
...
@@ -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
;
}
}
...
...
Please
register
or
login
to post a comment