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

OAK-11570 oak-run fullGC fullGcMaxAge default value is wrongly calculated #2157

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from

Conversation

daniancu
Copy link

@daniancu daniancu commented Mar 7, 2025

fixed conversion where default value is converted to millis not seconds

@@ -201,7 +201,7 @@ public void fullGC() {
assertTrue(output.contains("FullGcDelayFactory is : 2.0"));
assertTrue(output.contains("FullGcBatchSize is : 1000"));
assertTrue(output.contains("FullGcProgressSize is : 10000"));
assertTrue(output.contains("FullGcMaxAgeInSecs is : 86400"));
assertTrue(output.contains("FullGcMaxAgeInSecs is : 86400\n"));
Copy link
Member

Choose a reason for hiding this comment

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

I assume the \n is to ensure the value is exactly 86400 and not something else containing that string, but I wonder if we should then apply the same to the rest of asserts to maintain consistency.

Copy link
Author

Choose a reason for hiding this comment

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

yes, the wrong value was 86400000 and was still passing the test
i've updated the same for all numeric values checks

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.

3 participants