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>
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;
}
}
+ @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());