Disable failing config persister test 21/20521/4
authorMaros Marsalek <mmarsale@cisco.com>
Fri, 15 May 2015 14:36:03 +0000 (16:36 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 21 May 2015 12:55:59 +0000 (12:55 +0000)
The test needs to be redesigned. BundleContext and Concurrency need to be
removed from the test to make it more stable and readable.

Looks like the failure reported by mockito is caused by "wrongly written
multi-threaded tests".

Change-Id: I85a04194573c500ce9c4c4a8cfc4960e66203545
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
opendaylight/netconf/config-persister-impl/src/test/java/org/opendaylight/controller/netconf/persist/impl/osgi/ConfigPersisterTest.java

index 7b79e41f380af45f8a41a1347b8816516fe8bc32..3be6ca95350062bf679b7be3e68177c351071d3c 100644 (file)
@@ -18,6 +18,7 @@ import com.google.common.collect.Sets;
 import java.io.IOException;
 import org.junit.After;
 import org.junit.Before;
+import org.junit.Ignore;
 import org.junit.Test;
 import org.opendaylight.controller.config.api.ConflictingVersionException;
 import org.opendaylight.controller.netconf.api.Capability;
@@ -129,6 +130,7 @@ public class ConfigPersisterTest {
         }
     }
 
+    @Ignore("this test needs to be redesigned. Remove bundle bundle context and concurrency to make it more stable")
     @Test
     public void testSuccessConflictingVersionException() throws Exception {
         setUpContextAndStartPersister("cap1", getConflictingService());