Fix netconf-config-connector NetconfMappingTest 98/32598/3
authorJakub Morvay <jmorvay@cisco.com>
Thu, 14 Jan 2016 16:19:49 +0000 (17:19 +0100)
committerJakub Morvay <jmorvay@cisco.com>
Mon, 18 Jan 2016 13:35:11 +0000 (13:35 +0000)
Since commit operation does not fail when no transaction is
present, remove test expecting exception in such case.

Change-Id: Ib6b94570979b7821fede39a23240463c6524e04e
Signed-off-by: Jakub Morvay <jmorvay@cisco.com>
opendaylight/netconf/config-netconf-connector/src/test/java/org/opendaylight/netconf/confignetconfconnector/NetconfMappingTest.java

index 4ba646e28d9085f815df5063eb61228f4d80afa6..c2caa165a4e709b52baf1061b4d6302b8a26a333 100644 (file)
@@ -628,12 +628,6 @@ public class NetconfMappingTest extends AbstractConfigTest {
         assertEquals(3 + 3, afterReplace);
     }
 
-    @Test(expected = DocumentedException.class)
-    public void testEx() throws Exception {
-
-        commit();
-    }
-
     @Test
     public void testEx2() throws Exception {
         //check abort before tx creation