-
Notifications
You must be signed in to change notification settings - Fork 519
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
Upgrade to AspectJ 1.9.20.1 #407
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the update, but any chances that you can add a respective unit test which fails without that version bumping?
I'm looking for a way to unit test it but I don't see any tests that check if retry mechanism waits for some period of time before retry. |
Well, you showed one in the issue: #406. Would be great to see how it fails for you, so then we might be able to even just adjust existing test (and its configuration) to fail. |
Nah, its also fails with java. Made the same test with spring java service. Yeah, I have found this test |
I'm not sure how is the timing is relevant to the failure you are claiming with AspectJ. Any explanations in behavior difference before and after upgrade? |
I don't really know why aspectJ affect retry delay. But with version 2.0.* first retry wait delayExpresion time, but next one is not using multipliedExpression to calculate delay and still using delayExpresion. So, for example with delayExpression="500" and multiplier "2.0", delay between method execution will be 500 every time. With old verions 1.3+ or with upadted aspectJ, delay will use multiplier, so delays between next method executions will be 500, 1000, 2000... I have found solution how to calculate time in unit tests using DummySleeper, but it looks like unit tests are not affected by aspectJ issu |
Release notes for aspectJ https://htmlpreview.github.io/?https://github.com/eclipse/org.aspectj/blob/master/docs/dist/doc/README-1920.html |
Well, this one:
fails for me even with AspectJ
but if I do this:
Then all is good:
Apparently you are facing the problem fixed in this issue: #397. So, I guess we can accept your PR as just a dependency upgrade and that's it. We are planning to release |
thank you for contribution; looking forward for more! |
No description provided.