Ignore Atomix tests until we can fix local transport
Change-Id: I2920604d231fd77712bd9d5efea865e6325d886e
Showing
4 changed files
with
7 additions
and
4 deletions
| ... | @@ -49,6 +49,7 @@ import static org.junit.Assert.assertTrue; | ... | @@ -49,6 +49,7 @@ import static org.junit.Assert.assertTrue; |
| 49 | /** | 49 | /** |
| 50 | * Tests the {@link AsyncConsistentSetMultimap}. | 50 | * Tests the {@link AsyncConsistentSetMultimap}. |
| 51 | */ | 51 | */ |
| 52 | +@Ignore | ||
| 52 | public class AsyncConsistentSetMultimapTest extends AtomixTestBase { | 53 | public class AsyncConsistentSetMultimapTest extends AtomixTestBase { |
| 53 | private final File testDir = Files.createTempDir(); | 54 | private final File testDir = Files.createTempDir(); |
| 54 | private final String keyOne = "hello"; | 55 | private final String keyOne = "hello"; |
| ... | @@ -75,7 +76,6 @@ public class AsyncConsistentSetMultimapTest extends AtomixTestBase { | ... | @@ -75,7 +76,6 @@ public class AsyncConsistentSetMultimapTest extends AtomixTestBase { |
| 75 | * Test that size behaves correctly (This includes testing of the empty | 76 | * Test that size behaves correctly (This includes testing of the empty |
| 76 | * check). | 77 | * check). |
| 77 | */ | 78 | */ |
| 78 | - @Ignore | ||
| 79 | @Test | 79 | @Test |
| 80 | public void testSize() throws Throwable { | 80 | public void testSize() throws Throwable { |
| 81 | clearTests(); | 81 | clearTests(); |
| ... | @@ -127,7 +127,6 @@ public class AsyncConsistentSetMultimapTest extends AtomixTestBase { | ... | @@ -127,7 +127,6 @@ public class AsyncConsistentSetMultimapTest extends AtomixTestBase { |
| 127 | /** | 127 | /** |
| 128 | * Contains tests for value, key and entry. | 128 | * Contains tests for value, key and entry. |
| 129 | */ | 129 | */ |
| 130 | - @Ignore | ||
| 131 | @Test | 130 | @Test |
| 132 | public void containsTest() throws Throwable { | 131 | public void containsTest() throws Throwable { |
| 133 | clearTests(); | 132 | clearTests(); |
| ... | @@ -189,7 +188,6 @@ public class AsyncConsistentSetMultimapTest extends AtomixTestBase { | ... | @@ -189,7 +188,6 @@ public class AsyncConsistentSetMultimapTest extends AtomixTestBase { |
| 189 | * Contains tests for put, putAll, remove, removeAll and replace. | 188 | * Contains tests for put, putAll, remove, removeAll and replace. |
| 190 | * @throws Exception | 189 | * @throws Exception |
| 191 | */ | 190 | */ |
| 192 | - @Ignore | ||
| 193 | @Test | 191 | @Test |
| 194 | public void addAndRemoveTest() throws Exception { | 192 | public void addAndRemoveTest() throws Exception { |
| 195 | clearTests(); | 193 | clearTests(); |
| ... | @@ -326,7 +324,6 @@ public class AsyncConsistentSetMultimapTest extends AtomixTestBase { | ... | @@ -326,7 +324,6 @@ public class AsyncConsistentSetMultimapTest extends AtomixTestBase { |
| 326 | * as a trivial test of the asMap functionality (throws error). | 324 | * as a trivial test of the asMap functionality (throws error). |
| 327 | * @throws Exception | 325 | * @throws Exception |
| 328 | */ | 326 | */ |
| 329 | - @Ignore | ||
| 330 | @Test | 327 | @Test |
| 331 | public void testAccessors() throws Exception { | 328 | public void testAccessors() throws Exception { |
| 332 | clearTests(); | 329 | clearTests(); | ... | ... |
| ... | @@ -27,6 +27,7 @@ import java.util.concurrent.BlockingQueue; | ... | @@ -27,6 +27,7 @@ import java.util.concurrent.BlockingQueue; |
| 27 | import java.util.concurrent.CompletionException; | 27 | import java.util.concurrent.CompletionException; |
| 28 | import java.util.stream.Collectors; | 28 | import java.util.stream.Collectors; |
| 29 | 29 | ||
| 30 | +import org.junit.Ignore; | ||
| 30 | import org.junit.Test; | 31 | import org.junit.Test; |
| 31 | import org.onlab.util.Tools; | 32 | import org.onlab.util.Tools; |
| 32 | import org.onosproject.store.primitives.MapUpdate; | 33 | import org.onosproject.store.primitives.MapUpdate; |
| ... | @@ -42,6 +43,7 @@ import com.google.common.collect.Sets; | ... | @@ -42,6 +43,7 @@ import com.google.common.collect.Sets; |
| 42 | /** | 43 | /** |
| 43 | * Unit tests for {@link AtomixConsistentMap}. | 44 | * Unit tests for {@link AtomixConsistentMap}. |
| 44 | */ | 45 | */ |
| 46 | +@Ignore | ||
| 45 | public class AtomixConsistentMapTest extends AtomixTestBase { | 47 | public class AtomixConsistentMapTest extends AtomixTestBase { |
| 46 | 48 | ||
| 47 | @Override | 49 | @Override | ... | ... |
| ... | @@ -20,6 +20,7 @@ import java.util.Queue; | ... | @@ -20,6 +20,7 @@ import java.util.Queue; |
| 20 | import java.util.concurrent.CompletableFuture; | 20 | import java.util.concurrent.CompletableFuture; |
| 21 | import java.util.function.Consumer; | 21 | import java.util.function.Consumer; |
| 22 | 22 | ||
| 23 | +import org.junit.Ignore; | ||
| 23 | import org.junit.Test; | 24 | import org.junit.Test; |
| 24 | 25 | ||
| 25 | import static org.junit.Assert.*; | 26 | import static org.junit.Assert.*; |
| ... | @@ -35,6 +36,7 @@ import io.atomix.resource.ResourceType; | ... | @@ -35,6 +36,7 @@ import io.atomix.resource.ResourceType; |
| 35 | /** | 36 | /** |
| 36 | * Unit tests for {@link AtomixLeaderElector}. | 37 | * Unit tests for {@link AtomixLeaderElector}. |
| 37 | */ | 38 | */ |
| 39 | +@Ignore | ||
| 38 | public class AtomixLeaderElectorTest extends AtomixTestBase { | 40 | public class AtomixLeaderElectorTest extends AtomixTestBase { |
| 39 | 41 | ||
| 40 | NodeId node1 = new NodeId("node1"); | 42 | NodeId node1 = new NodeId("node1"); | ... | ... |
| ... | @@ -17,6 +17,7 @@ package org.onosproject.store.primitives.resources.impl; | ... | @@ -17,6 +17,7 @@ package org.onosproject.store.primitives.resources.impl; |
| 17 | 17 | ||
| 18 | import static org.junit.Assert.*; | 18 | import static org.junit.Assert.*; |
| 19 | 19 | ||
| 20 | +import org.junit.Ignore; | ||
| 20 | import org.junit.Test; | 21 | import org.junit.Test; |
| 21 | 22 | ||
| 22 | import io.atomix.Atomix; | 23 | import io.atomix.Atomix; |
| ... | @@ -26,6 +27,7 @@ import io.atomix.variables.DistributedLong; | ... | @@ -26,6 +27,7 @@ import io.atomix.variables.DistributedLong; |
| 26 | /** | 27 | /** |
| 27 | * Unit tests for {@link AtomixCounter}. | 28 | * Unit tests for {@link AtomixCounter}. |
| 28 | */ | 29 | */ |
| 30 | +@Ignore | ||
| 29 | public class AtomixLongTest extends AtomixTestBase { | 31 | public class AtomixLongTest extends AtomixTestBase { |
| 30 | 32 | ||
| 31 | @Override | 33 | @Override | ... | ... |
-
Please register or login to post a comment