-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
JUnit support - disable observers declared on mocked beans #11122
Conversation
mkouba
commented
Jul 31, 2020
- resolves InjectMock does not work on observer method #11079
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.
Really nice!
Awesome! Will take me some time to review/test this, so don't wait for me in case the others approve before me. /cc @mickroll in case you want to try this out: clone this branch & run |
- also rename MockableProxy to Mockable and remove it from the public API - resolves quarkusio#11079
I'd recommend to build quarkus with BTW there was a typo in the observer generator I've just fixed and force-pushed... |
Parallel build is flaky, especially for first time builds (see #10859) and |
Yep, this time we don't want to run the tests but build the quarkus as quick as possible ;-). |
The windows job got cancelled in 3h 1m 9s... Is it expected to take so long? |
Nope, it should finish in 2 (or close to that) |
Ok, so this time JDK Java 14 JVM Gradle Tests:
I don't think it's related. Can anyone confirm my assumption? |
Yes, that is totally unrelated. @michalszynkiewicz seems like |
@geoand thanks for letting me know. The weird thing is that it failed before any modifications have been made... |
also, have you seen this failure on any other PR? |
I have seen gradle failures from time to time, but TBH I don't remember which class was causing them |
@michalszynkiewicz I confirm I have seen it in other pull requests. |
@gsmet always for grpc? |
@glefloch do you have some suspicions what may be the cause? |
@gsmet Are we safe to merge this PR? Pls move the gradle CI discussion to a separate issue. |
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.
Apologies for late review (PTO).
PR looks good.
Yeah, failure looks unrelated. Should this be backported to 1.7.0.Final or it's not worth it? |
Gradle tests are slow but I don't think they are as slow as taking a minute to start the devmode. There used to be issues on windows with some locks inside Gradle cache but not on Unix. |