Skip to content

Conversation

@rjernst
Copy link
Member

@rjernst rjernst commented Jan 4, 2017

Randomized runner uses a flag, tests.asserts, which we have previously
not used, but is used in lucene for disabling assertions. This change
modifies the gradle configuration to look for this flag and pass through
to the test runner to determine whether -ea and -esa are added to the
java commandline for tests.

Randomized runner uses a flag, tests.asserts, which we have previously
not used, but is used in lucene for disabling assertions. This change
modifies the gradle configuration to look for this flag and pass through
to the test runner to determine whether -ea and -esa are added to the
java commandline for tests.
@rjernst rjernst added :Delivery/Build Build or test infrastructure v5.3.0 v6.0.0-alpha1 labels Jan 4, 2017
Copy link
Member

@jasontedor jasontedor left a comment

Choose a reason for hiding this comment

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

LGTM, although a little piece of me dies every time I see Boolean.parseBoolean.

@jasontedor
Copy link
Member

jasontedor commented Jan 5, 2017

This should go in the 5.1 and 5.2 branches as well as assertions were enabled in standalone integration tests there as well in #22334.

@jasontedor
Copy link
Member

Relates #22390

@jasontedor
Copy link
Member

retest this please

@rjernst rjernst merged commit 5adb3f9 into elastic:master Jan 6, 2017
@rjernst rjernst deleted the disable_assertions branch January 6, 2017 20:03
rjernst added a commit that referenced this pull request Jan 6, 2017
Use tests.asserts flag to allow disabling assertions
rjernst added a commit that referenced this pull request Jan 6, 2017
Use tests.asserts flag to allow disabling assertions
rjernst added a commit that referenced this pull request Jan 6, 2017
Use tests.asserts flag to allow disabling assertions
@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team v5.1.2 v5.2.0 v6.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants