commit | e636d76752d3da36006ee4ecca705c7fd54e0348 | [log] [tgz] |
---|---|---|
author | Jordan Halterman <jordan@opennetworking.org> | Thu Feb 15 18:09:38 2018 -0800 |
committer | Ray Milkey <ray@opennetworking.org> | Fri Feb 16 08:41:48 2018 -0800 |
tree | 8f807fab70681481acee3f8d1a50233166ed7773 | |
parent | 4a315165a7ed83954aa85f67596211f5d23845e3 [diff] [blame] |
Upgrade to Atomix 2.0.18 Change-Id: I433e8b85d5aad007531c24495dd8298aeef9f79e
diff --git a/core/store/primitives/src/test/java/org/onosproject/store/primitives/resources/impl/AtomixAtomicCounterMapServiceTest.java b/core/store/primitives/src/test/java/org/onosproject/store/primitives/resources/impl/AtomixAtomicCounterMapServiceTest.java index 698f015..9d58758 100644 --- a/core/store/primitives/src/test/java/org/onosproject/store/primitives/resources/impl/AtomixAtomicCounterMapServiceTest.java +++ b/core/store/primitives/src/test/java/org/onosproject/store/primitives/resources/impl/AtomixAtomicCounterMapServiceTest.java
@@ -15,7 +15,6 @@ */ package org.onosproject.store.primitives.resources.impl; -import io.atomix.protocols.raft.service.ServiceId; import io.atomix.protocols.raft.service.impl.DefaultCommit; import io.atomix.protocols.raft.session.impl.RaftSessionContext; import io.atomix.protocols.raft.storage.RaftStorage; @@ -42,7 +41,7 @@ .withPrefix("test") .withStorageLevel(StorageLevel.MEMORY) .build()); - Snapshot snapshot = store.newSnapshot(ServiceId.from(1), "test", 2, new WallClockTimestamp()); + Snapshot snapshot = store.newSnapshot(2, new WallClockTimestamp()); AtomixAtomicCounterMapService service = new AtomixAtomicCounterMapService(); service.put(new DefaultCommit<>(