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

Build reports are not always needed #746

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

shisheng-1
Copy link

That report generation takes time, slowing down the overall build. Reports are definitely useful, but do you need them every time you run the build. We can conditionally disable generating test reports by setting <disableXmlReport>true<disableXmlReport>. If you need to generate reports, just add -DcloseTestReports=false to the end of mvn build command.

=====================
If there are any inappropriate modifications in this PR, please give me a reply and I will change them.

Csaba Galyo and others added 10 commits November 12, 2020 17:10
Change-Id: Iabff6943c4c42ebda7423a34775087fb2d621289
…-20444)

Change-Id: I07e743adfea5f6a1f639feb43ac1fe7c0cd96a88
Change-Id: Ia025ec5922de6ec81581c0eb46913bcf34697145
* Fix default toString for JsonProperties.NULL_VALUE

The normalization of the Schema is inconsistent across restarts due to object's JsonProperties.NULL_VALUE lack of override toString.

This fixes that and allows deterministic creation for fingerprints.

* Assert that fingerprint hash remains the same across executions

Added test case to assess that generated fingerprint is always the same
between multiple executions, to prevent using an invalid stringified
version of Object.

Same Schema string must return same fingerprint, at least as long as
normalize function is not changed. Forced MD5, just in case in future
releases, the default hashing algorithm changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants