-
Notifications
You must be signed in to change notification settings - Fork 304
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
PAYARA-3805 Cannot edit, add, or delete JVM options from Admin Console #3957
Conversation
@@ -352,10 +352,10 @@ private String getErrorMessage(Map<String, String> data, ActionReport ar) { | |||
results.put(key, entry.getValue()); | |||
} else { | |||
options.append(sep).append(removeVersioning ? new JvmOption(key).option : key); | |||
|
|||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tabz
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spaces ;)
Jenkins test please |
.../rest-service/src/test/java/fish/payara/admin/rest/resources/CollectionLeafResourceTest.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check order of assertEquals
arguments.
@jbee It's using TestNg assert equals rather than Junit assert equals - they take expected and actual in reverse of each other (which is just lovely and will never lead to confusion) |
Updated versions to align with CQs
The problem was caused by '-XX:NewRatio=2' as previously it was assumed -X command-line options didn't require a value like in -D command-line options.