org.junit.ComparisonFailure: expected:<...ld not execute batch[]> but was:<...ld not execute batch[ [Batch entry 1 update Person set name='Second Person', version=1 where id=2 and version=0 was aborted: ERROR: restart transaction: TransactionRetryWithProtoRefreshError: TransactionRetryError: retry txn (RETRY_WRITE_TOO_OLD - WriteTooOld flag converted to WriteTooOldError): "sql txn" meta={id=46449077 key=/Table/13278/1/1/0 pri=0.01798933 epo=0 ts=1667570044.610749937,1 min=1667570044.605276596,0 seq=2} lock=true stat=PENDING rts=1667570044.605276596,0 wto=false gul=1667570045.105276596,0
Hint: See: https://www.cockroachlabs.com/docs/v21.2/transaction-retry-error-reference.html#retry_write_too_old Call getNextException to see other errors in the batch.]]>
at org.junit.Assert.assertEquals(Assert.java:117)
at org.junit.Assert.assertEquals(Assert.java:146)
at org.hibernate.orm.test.batch.BatchOptimisticLockingTest.testBatchAndOptimisticLocking(BatchOptimisticLockingTest.java:99)