You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "linghengqian (via GitHub)" <gi...@apache.org> on 2024/02/07 00:56:12 UTC

[PR] Fixes `@EnabledInNativeImage` failure in some unit tests [shardingsphere]

linghengqian opened a new pull request, #30031:
URL: https://github.com/apache/shardingsphere/pull/30031

   For #30003.
   
   Changes proposed in this pull request:
     - Fixes `@EnabledInNativeImage` failure in some unit tests. According to https://github.com/apache/shardingsphere/actions/runs/7804087102/job/21285307640 , unit tests under GraalVM Native Image do not execute when `@EnabledInNativeImage` is on the class. This needs to be investigated on the Junit5 side.
   ```shell
   JUnit Platform on Native Image - report
   ----------------------------------------
   
   org.apache.shardingsphere.test.natived.jdbc.features.MaskTest > assertMaskInLocalTransactions() SUCCESSFUL
   
   org.apache.shardingsphere.test.natived.jdbc.features.ShadowTest > assertShadowInLocalTransactions() SUCCESSFUL
   
   org.apache.shardingsphere.test.natived.jdbc.features.ShardingTest > assertShardingInLocalTransactions() SUCCESSFUL
   
   org.apache.shardingsphere.test.natived.jdbc.features.EncryptTest > assertEncryptInLocalTransactions() SUCCESSFUL
   
   org.apache.shardingsphere.test.natived.jdbc.features.ReadWriteSplittingTest > assertReadWriteSplittingInLocalTransactions() SUCCESSFUL
   
   org.apache.shardingsphere.test.natived.jdbc.mode.cluster.ZookeeperTest > assertShardingInLocalTransactions() SUCCESSFUL
   
   org.apache.shardingsphere.test.natived.jdbc.databases.MySQLTest > assertShardingInLocalTransactions() SUCCESSFUL
   
   org.apache.shardingsphere.test.natived.jdbc.databases.OpenGaussTest > assertShardingInLocalTransactions() SUCCESSFUL
   
   
   Test run finished after 70780 ms
   [         9 containers found      ]
   [         0 containers skipped    ]
   [         9 containers started    ]
   [         0 containers aborted    ]
   [         9 containers successful ]
   [         0 containers failed     ]
   [         8 tests found           ]
   [         0 tests skipped         ]
   [         8 tests started         ]
   [         0 tests aborted         ]
   [         8 tests successful      ]
   [         0 tests failed          ]
   ```
   
   ---
   
   Before committing this PR, I'm sure that I have checked the following options:
   - [x] My code follows the [code of conduct](https://shardingsphere.apache.org/community/en/involved/conduct/code/) of this project.
   - [x] I have self-reviewed the commit code.
   - [x] I have (or in comment I request) added corresponding labels for the pull request.
   - [x] 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.
   - [x] I have added corresponding unit tests for my changes.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fixes `@EnabledInNativeImage` failure in some unit tests [shardingsphere]

Posted by "strongduanmu (via GitHub)" <gi...@apache.org>.
strongduanmu merged PR #30031:
URL: https://github.com/apache/shardingsphere/pull/30031


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org