[ https://issues.apache.org/jira/browse/SCB-1685?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lei Zhang updated SCB-1685: --------------------------- Description: Because the table scan mode cannot guarantee the order of asynchronous compensation messages, test case doNotCompensateDuplicateTxOnFailure will occasionally fail on CI {code:java} Failed tests: AlphaIntegrationTest.doNotCompensateDuplicateTxOnFailure:289 Expected: iterable containing [<globalTxId: "b402c45a-ef25-4061-a5d7-a25eff120c3d" localTxId: "1f438adb-6b62-41f6-bcc6-e11c791b918f" parentTxId: "70f07983-0aa6-4fc2-99b0-545b43e7c214" compensationMethod: "method b" payloads: "service b" >, <globalTxId: "b402c45a-ef25-4061-a5d7-a25eff120c3d" localTxId: "a4eafa18-fcdf-4363-b5dd-a9e647096e15" parentTxId: "bb87ca5b-1fc8-45fe-931e-67eb8e13405f" compensationMethod: "method a" payloads: "service a" >] but: item 0: was <globalTxId: "b402c45a-ef25-4061-a5d7-a25eff120c3d" localTxId: "a4eafa18-fcdf-4363-b5dd-a9e647096e15" parentTxId: "bb87ca5b-1fc8-45fe-931e-67eb8e13405f" compensationMethod: "method a" payloads: "service a" > Tests run: 104, Failures: 1, Errors: 0, Skipped: 0{code} was: Test case doNotCompensateDuplicateTxOnFailure occasionally message of compensates inversion in CI {code:java} Failed tests: AlphaIntegrationTest.doNotCompensateDuplicateTxOnFailure:289 Expected: iterable containing [<globalTxId: "b402c45a-ef25-4061-a5d7-a25eff120c3d" localTxId: "1f438adb-6b62-41f6-bcc6-e11c791b918f" parentTxId: "70f07983-0aa6-4fc2-99b0-545b43e7c214" compensationMethod: "method b" payloads: "service b" >, <globalTxId: "b402c45a-ef25-4061-a5d7-a25eff120c3d" localTxId: "a4eafa18-fcdf-4363-b5dd-a9e647096e15" parentTxId: "bb87ca5b-1fc8-45fe-931e-67eb8e13405f" compensationMethod: "method a" payloads: "service a" >] but: item 0: was <globalTxId: "b402c45a-ef25-4061-a5d7-a25eff120c3d" localTxId: "a4eafa18-fcdf-4363-b5dd-a9e647096e15" parentTxId: "bb87ca5b-1fc8-45fe-931e-67eb8e13405f" compensationMethod: "method a" payloads: "service a" > Tests run: 104, Failures: 1, Errors: 0, Skipped: 0{code} > Improve test case doNotCompensateDuplicateTxOnFailure of AlphaIntegrationTest > ----------------------------------------------------------------------------- > > Key: SCB-1685 > URL: https://issues.apache.org/jira/browse/SCB-1685 > Project: Apache ServiceComb > Issue Type: Test > Components: Saga > Reporter: Lei Zhang > Assignee: Lei Zhang > Priority: Major > Fix For: pack-0.6.0 > > > Because the table scan mode cannot guarantee the order of asynchronous > compensation messages, test case doNotCompensateDuplicateTxOnFailure will > occasionally fail on CI > {code:java} > Failed tests: > AlphaIntegrationTest.doNotCompensateDuplicateTxOnFailure:289 > Expected: iterable containing [<globalTxId: > "b402c45a-ef25-4061-a5d7-a25eff120c3d" > localTxId: "1f438adb-6b62-41f6-bcc6-e11c791b918f" > parentTxId: "70f07983-0aa6-4fc2-99b0-545b43e7c214" > compensationMethod: "method b" > payloads: "service b" > >, <globalTxId: "b402c45a-ef25-4061-a5d7-a25eff120c3d" > localTxId: "a4eafa18-fcdf-4363-b5dd-a9e647096e15" > parentTxId: "bb87ca5b-1fc8-45fe-931e-67eb8e13405f" > compensationMethod: "method a" > payloads: "service a" > >] > but: item 0: was <globalTxId: "b402c45a-ef25-4061-a5d7-a25eff120c3d" > localTxId: "a4eafa18-fcdf-4363-b5dd-a9e647096e15" > parentTxId: "bb87ca5b-1fc8-45fe-931e-67eb8e13405f" > compensationMethod: "method a" > payloads: "service a" > > > Tests run: 104, Failures: 1, Errors: 0, Skipped: 0{code} > -- This message was sent by Atlassian Jira (v8.3.4#803005)