[CONTROLLER-2020] Enable testSnapshotOnRootOverwrite() with ClientBackedDataStore Created: 11/Nov/21 Updated: 22/Jan/24 |
|
| Status: | In Progress |
| Project: | controller |
| Component/s: | clustering |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Ivan Hrasko |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | pick-next, pt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
We have this test disabled for tell-based protocol, as it fails on: testSnapshotOnRootOverwrite[class org.opendaylight.controller.cluster.databroker.TestClientBackedDataStore](org.opendaylight.controller.cluster.datastore.DistributedDataStoreRemotingIntegrationTest) Time elapsed: 9.265 s <<< FAILURE!
java.lang.AssertionError: expected:<1> but was:<-1>
at org.junit.Assert.fail(Assert.java:89)
at org.junit.Assert.failNotEquals(Assert.java:835)
at org.junit.Assert.assertEquals(Assert.java:647)
at org.junit.Assert.assertEquals(Assert.java:633)
at org.opendaylight.controller.cluster.datastore.DistributedDataStoreRemotingIntegrationTest.lambda$testSnapshotOnRootOverwrite$20(DistributedDataStoreRemotingIntegrationTest.java:1430)
at org.opendaylight.controller.cluster.datastore.IntegrationTestKit.verifyShardState(IntegrationTestKit.java:318)
at org.opendaylight.controller.cluster.datastore.DistributedDataStoreRemotingIntegrationTest.testSnapshotOnRootOverwrite(DistributedDataStoreRemotingIntegrationTest.java:1429)
|
| Comments |
| Comment by Šimon Ukuš [ 26/Apr/23 ] |
|
testSnapshotOnRootOverwrite() [CBDS == ClientBackedDataStore ; DDS == DistributedDataStore]
[fs == fakeSnapshotIndex ; rs == realSnapshotIndex]
for DDS we expect these indexes while going through the points of the testing procedure:
4. -> fs=10 | rs=1
7. -> fs=12 | rs=12
for CBDS we expect these indexes: 1. -> fs=0 | rs=0
4. -> fs=20 | rs=0
7. -> fs=22 | rs=22
|