Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert #24177 Seata upgrade error #24382

Merged
merged 1 commit into from
Feb 28, 2023
Merged

Conversation

FlyingZC
Copy link
Member

@FlyingZC FlyingZC commented Feb 28, 2023

Changes proposed in this pull request:


Before committing this PR, I'm sure that I have checked the following options:

  • My code follows the code of conduct of this project.
  • I have self-reviewed the commit code.
  • I have (or in comment I request) added corresponding labels for the pull request.
  • I have passed maven check locally : ./mvnw clean install -B -T1C -Dmaven.javadoc.skip -Dmaven.jacoco.skip -e.
  • I have made corresponding changes to the documentation.
  • I have added corresponding unit tests for my changes.

@FlyingZC FlyingZC changed the title Revert "Update seata-all to handle cglib breaking unit test execution… Revert #24177 Seata upgrade error Feb 28, 2023
@FlyingZC
Copy link
Member Author

Exception info.

2023-02-28T09:00:59.7375592Z [ERROR] Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.644 s <<< FAILURE! - in org.apache.shardingsphere.transaction.base.seata.at.SeataATShardingSphereTransactionManagerTest
2023-02-28T09:00:59.7386295Z [ERROR] org.apache.shardingsphere.transaction.base.seata.at.SeataATShardingSphereTransactionManagerTest.assertCommit  Time elapsed: 0.113 s  <<< FAILURE!
2023-02-28T09:00:59.7387090Z java.lang.AssertionError: 
2023-02-28T09:00:59.7387335Z 
2023-02-28T09:00:59.7387873Z Expected: an instance of io.seata.core.protocol.RegisterRMRequest
2023-02-28T09:00:59.7388737Z      but: <RegisterTMRequest{applicationId='jdbc-test', transactionServiceGroup='my_test_tx_group'}> is a io.seata.core.protocol.RegisterTMRequest
2023-02-28T09:00:59.7389370Z 	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
2023-02-28T09:00:59.7389868Z 	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
2023-02-28T09:00:59.7390756Z 	at org.apache.shardingsphere.transaction.base.seata.at.SeataATShardingSphereTransactionManagerTest.assertResult(SeataATShardingSphereTransactionManagerTest.java:162)
2023-02-28T09:00:59.7392053Z 	at org.apache.shardingsphere.transaction.base.seata.at.SeataATShardingSphereTransactionManagerTest.assertCommit(SeataATShardingSphereTransactionManagerTest.java:136)
2023-02-28T09:00:59.7392941Z 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2023-02-28T09:00:59.7393496Z 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
2023-02-28T09:00:59.7394110Z 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2023-02-28T09:00:59.7394642Z 	at java.lang.reflect.Method.invoke(Method.java:498)
2023-02-28T09:00:59.7395145Z 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
2023-02-28T09:00:59.7395960Z 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
2023-02-28T09:00:59.7396604Z 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
2023-02-28T09:00:59.7397232Z 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
2023-02-28T09:00:59.7397834Z 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
2023-02-28T09:00:59.7398671Z 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
2023-02-28T09:00:59.7399210Z 	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
2023-02-28T09:00:59.7399738Z 	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
2023-02-28T09:00:59.7400419Z 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
2023-02-28T09:00:59.7400968Z 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
2023-02-28T09:00:59.7401570Z 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
2023-02-28T09:00:59.7402099Z 	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
2023-02-28T09:00:59.7402566Z 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
2023-02-28T09:00:59.7403051Z 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
2023-02-28T09:00:59.7403561Z 	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
2023-02-28T09:00:59.7404039Z 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
2023-02-28T09:00:59.7404576Z 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
2023-02-28T09:00:59.7405171Z 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
2023-02-28T09:00:59.7405704Z 	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
2023-02-28T09:00:59.7406180Z 	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
2023-02-28T09:00:59.7406626Z 	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
2023-02-28T09:00:59.7407054Z 	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
2023-02-28T09:00:59.7407572Z 	at org.junit.vintage.engine.execution.RunnerExecutor.execute(RunnerExecutor.java:42)
2023-02-28T09:00:59.7408220Z 	at org.junit.vintage.engine.VintageTestEngine.executeAllChildren(VintageTestEngine.java:80)
2023-02-28T09:00:59.7408850Z 	at org.junit.vintage.engine.VintageTestEngine.execute(VintageTestEngine.java:72)
2023-02-28T09:00:59.7409535Z 	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:147)
2023-02-28T09:00:59.7410308Z 	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:127)
2023-02-28T09:00:59.7411079Z 	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:90)
2023-02-28T09:00:59.7411864Z 	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:55)
2023-02-28T09:00:59.7412724Z 	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:102)
2023-02-28T09:00:59.7413573Z 	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:54)
2023-02-28T09:00:59.7414268Z 	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
2023-02-28T09:00:59.7414868Z 	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
2023-02-28T09:00:59.7415546Z 	at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
2023-02-28T09:00:59.7416231Z 	at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:55)
2023-02-28T09:00:59.7416936Z 	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:223)
2023-02-28T09:00:59.7417732Z 	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:175)
2023-02-28T09:00:59.7418601Z 	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:139)
2023-02-28T09:00:59.7419326Z 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456)
2023-02-28T09:00:59.7419958Z 	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169)
2023-02-28T09:00:59.7420531Z 	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595)
2023-02-28T09:00:59.7421099Z 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581)
2023-02-28T09:00:59.7421442Z 
2023-02-28T09:00:59.7431961Z [INFO] Running org.apache.shardingsphere.transaction.base.seata.at.SeataTransactionalSQLExecutionHookTest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants