Clean up modification tests 71/98471/1
authorRobert Varga <robert.varga@pantheon.tech>
Sat, 13 Nov 2021 11:52:29 +0000 (12:52 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Sat, 13 Nov 2021 11:52:29 +0000 (12:52 +0100)
commit69d944b7b97e0e2c6a062ecb1227b7b30474cc18
tree06daac29c93b3c5e9419a45e776f2fa863a86d4f
parent09d76ff670a3d54dac595336b9fe3151b793d630
Clean up modification tests

Make sure we close the read transaction and improve assertions with
Optional.

Change-Id: Ia465f64c5845e3d5e215759cc32048e06478104b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/modification/AbstractModificationTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/modification/DeleteModificationTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/modification/MergeModificationTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/modification/WriteModificationTest.java