-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Update Mockito and ByteBuddy to help with GraalVM integration #17665
Conversation
|
…Test to handle the limitations of the new version of Mockito.
Codecov Report
@@ Coverage Diff @@
## master #17665 +/- ##
============================================
- Coverage 58.81% 58.79% -0.03%
- Complexity 2125 2126 +1
============================================
Files 3596 3599 +3
Lines 53536 53572 +36
Branches 9143 9144 +1
============================================
+ Hits 31489 31497 +8
- Misses 19373 19400 +27
- Partials 2674 2675 +1
Continue to review full report at Codecov.
|
Good Job! |
* master: (90 commits) Remove usage of com.google.common.collect.Collections2 (apache#17721) Refactor execute RAL statement reload metaData (apache#17720) Use caffeine instead of guava cache (apache#17712) Minor changes for test cases and code format (apache#17718) Add test case for RuleBasedSchemaMetaDataBuilderFactory . (apache#17709) Update Mockito and ByteBuddy to help with GraalVM integration (apache#17665) fix CI error (apache#17713) Add unit for MetaDataPersistService.persistTransactionRule(final Properties props, final boolean isOverwrit) apache#16091 (apache#17714) Remove useless DatabaseMetaDataContextsBuilder (apache#17717) private MetaDataContextsBuilder.addDatabase and addSystemDatabases (apache#17716) Add unit test for ModShardingAlgorithm (apache#17710) Refactor distribute database lock (apache#17711) Add unit test for Bootstrap use proxy default port from props (apache#17707) Scaling IT optimization (apache#17702) Add test cases for SQLRewriteContextDecoratorFactory and ExecutionPrepareDecoratorFactory . (apache#17701) Use ConfigurationProperties in ContextManager (apache#17706) Use ConfigurationProperties in MetaDataContextsBuilder (apache#17705) Refactor create schema statement parse logic (apache#17703) Revise apache#17695 (apache#17700) add test for DataNodeBuilderFactory (apache#17695) ...
Fixes #17451.
Changes proposed in this pull request:
org.mockito.internal.util.reflection.FieldSetter
, refer to mockito/mockito@24c0e45 ,org.mockito.plugins.MemberAccessor
needs to be created separately in each unit test.Missing net.bytebuddy.utility.GraalImageCode exception
, refer to https://github.com/mockito/mockito/releases/tag/v4.5.1