Skip to content

Conversation

@jasontedor
Copy link
Member

@jasontedor jasontedor commented May 2, 2017

The argline was being overridden by '-XX:-OmitStackTraceInFastThrow' which led to test failures that were expecting the JVM to be in a certain state based on the value of tests.jvm.argline but they were not since these arguments were never passed to the JVM. Additionally, we need to respect the provided JVM argline if it is already provided with a flag for OmitStackTraceInFastThrow. This commit fixes this by only setting OmitStackTraceInFastThrow if it is not already set.

Relates #24426

The argline was being overridden by '-XX:-OmitStackTraceInFastThrow'
which led to test failures that were expecting the JVM to be in a
certain state based on the value of tests.jvm.argline but they were not
since these arguments were never passed to the JVM. Additionally, we
need to respect the provided JVM argline if it is already provided with
a flag for OmitStackTraceInFastThrow. This commit fixes this by only
setting OmitStackTraceInFastThrow if it is not already set.
@jasontedor jasontedor added :Delivery/Build Build or test infrastructure review >test Issues or PRs that are addressing/adding tests v6.0.0-alpha1 labels May 2, 2017
@jasontedor jasontedor requested a review from nik9000 May 2, 2017 23:53
@nik9000
Copy link
Member

nik9000 commented May 2, 2017 via email

@jasontedor jasontedor merged commit 2380115 into elastic:master May 2, 2017
@jasontedor jasontedor deleted the omit-stack-trace-in-fast-throw-argline branch May 2, 2017 23:59
@jasontedor
Copy link
Member Author

Thanks @nik9000.

jasontedor added a commit to jasontedor/elasticsearch that referenced this pull request May 3, 2017
* master:
  Show JVM arguments
  Log JVM arguments on startup
  Fix JVM test argline (elastic#24448)
@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 >test Issues or PRs that are addressing/adding tests v6.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants