Christian Beikov (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiMjQ3MjI0ODVk...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-15668?atlOrigin=eyJpIjoiMjQ3Mj...
) HHH-15668 (
https://hibernate.atlassian.net/browse/HHH-15668?atlOrigin=eyJpIjoiMjQ3Mj...
) Cockroach test failure: BatchOptimisticLockingTest.testBatchAndOptimisticLocking (
https://hibernate.atlassian.net/browse/HHH-15668?atlOrigin=eyJpIjoiMjQ3Mj...
)
Issue Type: Bug Assignee: Karel Maesen (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) Components: hibernate-core Created: 04/Nov/2022 09:26 AM Priority: Major Reporter:
Christian Beikov (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
The error is:
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-referenc...
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)
Also see
https://ci.hibernate.org/job/hibernate-orm-nightly/job/main/20/testReport...
(
https://ci.hibernate.org/job/hibernate-orm-nightly/job/main/20/testReport...
)
(
https://hibernate.atlassian.net/browse/HHH-15668#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-15668#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100210- sha1:21ade21 )