From b0615e61b93ef8530193bd45c270ed313dcc23a7 Mon Sep 17 00:00:00 2001 From: Maros Marsalek Date: Wed, 26 Oct 2016 12:15:47 +0200 Subject: Enable createParents for RealtimeMappingContext Change-Id: I2f5747a2348728b88f9ff9d5c3f0f39a98dbefdf Signed-off-by: Maros Marsalek --- .../io/fd/honeycomb/translate/util/RealtimeMappingContextTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'infra/translate-utils/src/test') diff --git a/infra/translate-utils/src/test/java/io/fd/honeycomb/translate/util/RealtimeMappingContextTest.java b/infra/translate-utils/src/test/java/io/fd/honeycomb/translate/util/RealtimeMappingContextTest.java index 1ee06c1b7..d6da2f368 100644 --- a/infra/translate-utils/src/test/java/io/fd/honeycomb/translate/util/RealtimeMappingContextTest.java +++ b/infra/translate-utils/src/test/java/io/fd/honeycomb/translate/util/RealtimeMappingContextTest.java @@ -79,7 +79,7 @@ public class RealtimeMappingContextTest { public void testMerge() throws Exception { ctx.merge(id, data); verify(broker).newWriteOnlyTransaction(); - verify(writeTx).merge(LogicalDatastoreType.OPERATIONAL, id, data); + verify(writeTx).merge(LogicalDatastoreType.OPERATIONAL, id, data, true); } @Test(expected = IllegalStateException.class) @@ -92,7 +92,7 @@ public class RealtimeMappingContextTest { public void testPut() throws Exception { ctx.put(id, data); verify(broker).newWriteOnlyTransaction(); - verify(writeTx).put(LogicalDatastoreType.OPERATIONAL, id, data); + verify(writeTx).put(LogicalDatastoreType.OPERATIONAL, id, data, true); } @Test(expected = IllegalStateException.class) -- cgit 1.2.3-korg