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-09-22 10:25:06 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1b9f4dcfd44d11b097f393e4f0faf79c37147d80
1b9f4dcf
1 parent
39a04805
HZ to use TCP during unit tests
Change-Id: I0cb4269523f1c2689076b8a8cfca10a422a9d46a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
core/net/src/test/java/org/onlab/onos/net/device/impl/DistributedDeviceManagerTest.java
core/net/src/test/java/org/onlab/onos/net/device/impl/DistributedDeviceManagerTest.java
View file @
1b9f4dc
...
...
@@ -2,7 +2,6 @@ package org.onlab.onos.net.device.impl;
import
org.junit.After
;
import
org.junit.Before
;
import
org.junit.Ignore
;
import
org.junit.Test
;
import
org.onlab.onos.event.Event
;
import
org.onlab.onos.net.Device
;
...
...
@@ -46,7 +45,6 @@ import static org.onlab.onos.net.device.DeviceEvent.Type.*;
/**
* Test codifying the device service & device provider service contracts.
*/
@Ignore
public
class
DistributedDeviceManagerTest
{
private
static
final
ProviderId
PID
=
new
ProviderId
(
"of"
,
"foo"
);
...
...
@@ -84,8 +82,12 @@ public class DistributedDeviceManagerTest {
// avoid accidentally joining other cluster
config
.
getGroupConfig
().
setName
(
UUID
.
randomUUID
().
toString
());
// quickly form single node cluster
config
.
getNetworkConfig
().
getJoin
().
getMulticastConfig
()
.
setMulticastTimeoutSeconds
(
0
);
config
.
getNetworkConfig
().
getJoin
()
.
getTcpIpConfig
()
.
setEnabled
(
true
).
setConnectionTimeoutSeconds
(
0
);
config
.
getNetworkConfig
().
getJoin
()
.
getMulticastConfig
()
.
setEnabled
(
false
);
dstore
.
theInstance
=
Hazelcast
.
newHazelcastInstance
(
config
);
dstore
.
activate
();
mgr
.
store
=
dstore
;
...
...
Please
register
or
login
to post a comment