diff options
author | 2017-03-21 12:39:36 +0100 | |
---|---|---|
committer | 2017-03-21 12:41:07 +0100 | |
commit | 95d18b91f26cae876bec3e946ee1f390007137eb (patch) | |
tree | 394d29aaf2aa845a2556ea56e419978a4d6144e0 /vpp-classifier/impl/src/test/java | |
parent | 7e94e59b8f9469cc33546f5512851bfca091c0e9 (diff) |
HC2VPP-117: workaround for VPP-208
Change-Id: I75d05fc73236f7a768f54d29247054cc20b722a6
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'vpp-classifier/impl/src/test/java')
-rw-r--r-- | vpp-classifier/impl/src/test/java/io/fd/hc2vpp/vpp/classifier/write/ClassifyTableWriterTest.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/vpp-classifier/impl/src/test/java/io/fd/hc2vpp/vpp/classifier/write/ClassifyTableWriterTest.java b/vpp-classifier/impl/src/test/java/io/fd/hc2vpp/vpp/classifier/write/ClassifyTableWriterTest.java index 2a8b3db66..0b156a333 100644 --- a/vpp-classifier/impl/src/test/java/io/fd/hc2vpp/vpp/classifier/write/ClassifyTableWriterTest.java +++ b/vpp-classifier/impl/src/test/java/io/fd/hc2vpp/vpp/classifier/write/ClassifyTableWriterTest.java @@ -21,6 +21,7 @@ import static org.junit.Assert.fail; import static org.mockito.Mockito.doReturn; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; +import static org.mockito.Mockito.verifyZeroInteractions; import static org.mockito.Mockito.when; import io.fd.hc2vpp.common.test.write.WriterCustomizerTest; @@ -173,10 +174,13 @@ public class ClassifyTableWriterTest extends WriterCustomizerTest { customizer.deleteCurrentAttributes(id, classifyTable, writeContext); } - @Test(expected = UnsupportedOperationException.class) + @Test + // TODO: uncomment after HC2VPP-10 is fixed + // (expected = UnsupportedOperationException.class) public void testUpdate() throws Exception { final ClassifyTable classifyTableBefore = generateClassifyTable(TABLE_NAME); final InstanceIdentifier<ClassifyTable> id = getClassifyTableId(TABLE_NAME); customizer.updateCurrentAttributes(id, classifyTableBefore, new ClassifyTableBuilder().build(), writeContext); + verifyZeroInteractions(api); } }
\ No newline at end of file |