-
Notifications
You must be signed in to change notification settings - Fork 4.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
Non-deterministic Build #308
Comments
Javadoc is incredibly annoying and behaves differently on different JVMs. Are you trying to build with Java 8 by chance? You can ignore javadoc in the build by putting “-x javadoc” to exclude that task. |
Hi Ben, I am also facing the same issue and based on your comment above, I did try to ignore javadoc, however have got bunch of other failures. ./gradlew clean build -x javadoc Testing com.netflix.hystrix.core-test ERROR in (test-observe-later) (Reflector.java:271) ERROR in (test-observe-later) (Reflector.java:271) ERROR in (test-observe-later) (Class.java:3361) ERROR in (test-defcommand) (Reflector.java:271) ERROR in (test-defcommand) (Reflector.java:271) ERROR in (test-defcommand) (Class.java:3361)
ERROR in (test-observe) (Reflector.java:271) ERROR in (test-observe) (Reflector.java:271) Ran 14 tests containing 72 assertions. FAILURE: Build failed with an exception.
BUILD FAILED |
Looks like some non-deterministic test failures. |
@pequnio3 / @KITSKapilVarshney I think the build should be working again. Can you let me know if you're still seeing problems in master? |
Hi @pequnio3, I have not tried this for a while now. However when I faced issue, I simply commented out the tests which were giving issues to progress. Intend of my exercise was to see the demo example. I will be revisiting the set up in Jan again and if I do see this issue, I will update here. Cheers, |
Closing. @pequnio3, @KITSKapilVarshney, I am aware of non-deterministic unit tests and will be fixing them in #368. |
using java 8 results in javadoc failure... skipping javadoc using '-x javadoc' works fine... |
@venkates77 I've also seen this. I'll open up a new issue to figure out how to structure the Javadoc such that any JDK can generate it. |
I just forked the Hystrix repo to play around with it as well as attempt to add OSGi compatibility. I'm relatively new to gradle and am still learning, however I get a build error when I do:
Do you have any suggestions how to fix this?
I've included my commands output below.
The text was updated successfully, but these errors were encountered: