[fix][test] Prevent OOM in test by not spying invocations in SimpleProducerConsumerTest - #23486
Merged
Technoboy- merged 1 commit intoOct 21, 2024
Conversation
…oducerConsumerTest - it's not necessary to spy invocations that consume a lot of memory
lhotari
requested review from
Technoboy-,
eolivelli,
merlimat,
nicoloboschi and
nodece
October 19, 2024 19:48
15 tasks
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #23486 +/- ##
============================================
+ Coverage 73.57% 74.29% +0.72%
- Complexity 32624 34292 +1668
============================================
Files 1877 1943 +66
Lines 139502 146973 +7471
Branches 15299 16191 +892
============================================
+ Hits 102638 109199 +6561
- Misses 28908 29345 +437
- Partials 7956 8429 +473
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
lhotari
requested review from
BewareMyPower,
cbornet,
dao-jun,
dlg99,
heesung-sohn,
onobc and
poorbarcode
October 20, 2024 16:35
heesung-sohn
approved these changes
Oct 20, 2024
Technoboy-
approved these changes
Oct 21, 2024
Member
Author
Member
Author
|
Getting registered invocations with Eclipse MAT Calcite SQL query that are contributing to the OOM: select SUM(invocationCount) AS total_invocations, m from (select cast(registeredInvocations['invocations']['size'] as integer) as invocationCount, toString(invocationForStubbing['invocation']['realMethod']['origin']) as m from org.mockito.internal.stubbing.InvocationContainerImpl) group by m order by 1
|
hanmz
pushed a commit
to hanmz/pulsar
that referenced
this pull request
Feb 12, 2025
…oducerConsumerTest (apache#23486)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Motivation
Modifications
Documentation
docdoc-requireddoc-not-neededdoc-complete