-
Notifications
You must be signed in to change notification settings - Fork 1.5k
WIP: [NO-JIRA] KahaDBOffsetRecoveryListenerTest execution time improvements #1560
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
base: main
Are you sure you want to change the base?
Conversation
|
Can you explain why you put back the @before with send/receive of several thousands of messages? |
|
@mattrpav maybe check another time https://github.com/apache/activemq/pull/1555/files and fork @jeanouii PR to propose your change, copying his work doesn't look fair from outside. Also the changes look just random (the message count, the before method is completely pointless etc) so maybe superseed this PR with this one #1555 rather than the opposite to make test suite better, no? |
The comment describes the scenario -- the queue's sequence number needs to be pushed forward to ensure correctness of the tests. |
I am always mindful to ensure contributors get credit for their efforts. In this case, the initial change needs to be reverted for correctness. Using two commits to do that does not seem productive -- the applied usage of the IOHelper ( < 1 line of change) is the only change from @jeanouii original branch. That being said, I'm happy to add a co-author credit in the commit comment if that warrants. |
|
@mattrpav but the queue where it's pushed is not the same as the queue used in the tests themselves.
|
|
Timings on my local laptop with nvme disk Update: Current CI/CD time: |
this is not because it is written that it is true, you changed the number and it still passes so it is likely wrong no - at least code doesn't require it strictly and if using internal length you broke it by changing it and fake the test passes - but it doesn't test anything anymore? So either you "removed" virtually the test or it is useless, both case are wrong in current PR - my understanding is it is useless. |
replaces [#1555]