BUG-5280: switch transaction IDs from String to TransactionIdentifier
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / test / java / org / opendaylight / controller / cluster / datastore / SimpleShardDataTreeCohortTest.java
index 700f0c5eeed933391a614baada32d1c83ba45d7f..657d7b3e83f8a14332f0210809dfc83c63385bee 100644 (file)
@@ -36,7 +36,7 @@ import org.opendaylight.yangtools.yang.data.api.schema.tree.TipProducingDataTree
  *
  * @author Thomas Pantelis
  */
-public class SimpleShardDataTreeCohortTest {
+public class SimpleShardDataTreeCohortTest extends AbstractTest {
     @Mock
     private TipProducingDataTree mockDataTree;
 
@@ -54,7 +54,7 @@ public class SimpleShardDataTreeCohortTest {
 
         doReturn(mockDataTree).when(mockShardDataTree).getDataTree();
 
-        cohort = new SimpleShardDataTreeCohort(mockShardDataTree, mockModification, "tx");
+        cohort = new SimpleShardDataTreeCohort(mockShardDataTree, mockModification, nextTransactionId());
     }
 
     @Test