[CONTROLLER-2018] Enable testTransactionWithIsolatedLeader() with ClientBackedDataStore Created: 11/Nov/21  Updated: 13/Nov/21  Resolved: 13/Nov/21

Status: Resolved
Project: controller
Component/s: clustering
Affects Version/s: None
Fix Version/s: 3.0.13, 4.0.7, 2.0.10

Type: Task Priority: Medium
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

This test is currently disabled and is failing with:

java.lang.AssertionError: unexpected exception type thrown; expected:<java.util.concurrent.ExecutionException> but was:<java.util.concurrent.TimeoutException>
	at org.junit.Assert.assertThrows(Assert.java:1020)
	at org.junit.Assert.assertThrows(Assert.java:981)
	at org.opendaylight.controller.cluster.datastore.DistributedDataStoreRemotingIntegrationTest.testTransactionWithIsolatedLeader(DistributedDataStoreRemotingIntegrationTest.java:1110)
Caused by: java.util.concurrent.TimeoutException: Waited 12 seconds (plus 217770 nanoseconds delay) for SettableFuture@654b899f[status=PENDING]
	at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:508)
	at com.google.common.util.concurrent.AbstractFuture$TrustedFuture.get(AbstractFuture.java:111)
	at org.opendaylight.controller.cluster.datastore.IntegrationTestKit.doCommit(IntegrationTestKit.java:359)
	at org.opendaylight.controller.cluster.datastore.DistributedDataStoreRemotingIntegrationTest.lambda$13(DistributedDataStoreRemotingIntegrationTest.java:1111)
	at org.junit.Assert.assertThrows(Assert.java:1001)

Generated at Wed Feb 07 19:57:00 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.