Skip to content
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

Java build: finish compiling before testing (etc) #10034

Closed
wants to merge 1 commit into from

Conversation

pdillinger
Copy link
Contributor

Summary: Lack of ordering dependencies could lead to random
build-linux-java failures with "Truncated class file" because tests
started before compilation was finished. (Fix to java/Makefile)

Also:

  • export SHA256_CMD to save copy-paste
  • Actually fail if Java sample build fails--which it was in CircleCI
  • Don't require Snappy for Java sample build (for more compatibility)
  • Remove check_all_python from jtest because it's running in make check builds in CircleCI

Test Plan: CI, some manual

Summary: Lack of ordering dependencies could lead to random
build-linux-java failures with "Truncated class file" because tests
started before compilation was finished. (Fix to java/Makefile)

Also:
* export SHA256_CMD to save copy-paste
* Actually fail if Java sample build fails--which it was in CircleCI
* Don't require Snappy for Java sample build (for more compatibility)
* Remove check_all_python from jtest because it's running in `make
check` builds in CircleCI

Test Plan: CI, some manual
@pdillinger pdillinger marked this pull request as ready for review May 22, 2022 05:46
Copy link
Contributor

@ajkr ajkr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pdillinger
Copy link
Contributor Author

crash test failure is pre-existing

@facebook-github-bot
Copy link
Contributor

@pdillinger has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants