Branch: refs/heads/master Home: https://github.com/jenkinsci/jenkins-test-harness Commit: 6dc6f915dff750db2ec002119c7b6ad0d24b41e2 https://github.com/jenkinsci/jenkins-test-harness/commit/6dc6f915dff750db2ec002119c7b6ad0d24b41e2 Author: James Nord <jtn...@users.noreply.github.com> Date: 2022-01-19 (Wed, 19 Jan 2022)
Changed paths: M src/main/java/org/jvnet/hudson/test/HudsonTestCase.java M src/main/java/org/jvnet/hudson/test/JenkinsRule.java Log Message: ----------- constrain an agents memory Notivced when looking at the memory usage of pipeline-model-defintion that the agents created in the tests did not have a constrained memory set. This means that the tests would be platform dependent. or flaky depending on what GC happens at various times. the number 512 is relativly arbitrary, but k8s agents use 256Mi as a request and so 512 is double that, and the agent process is supposed to be lightweight. Whilst this could reveal a few issues in plugins when they upgrade, it seems to me that that could be a bug in the plugin, and so I have not implemented a way to create an online slave with a specific amount of memory. if that is indeed required it can be added later as jth updates are not forced on plugins. Commit: 41c59b73de666950e1ac432a96e9c7be2d03cb1b https://github.com/jenkinsci/jenkins-test-harness/commit/41c59b73de666950e1ac432a96e9c7be2d03cb1b Author: James Nord <jtn...@users.noreply.github.com> Date: 2022-01-19 (Wed, 19 Jan 2022) Changed paths: M src/main/java/org/jvnet/hudson/test/HudsonTestCase.java Log Message: ----------- Update src/main/java/org/jvnet/hudson/test/HudsonTestCase.java Co-authored-by: Tim Jacomb <21194782+ti...@users.noreply.github.com> Commit: 6b1e34cb4ee617fa956b94254f97e70398c41b2e https://github.com/jenkinsci/jenkins-test-harness/commit/6b1e34cb4ee617fa956b94254f97e70398c41b2e Author: James Nord <jtn...@users.noreply.github.com> Date: 2022-01-26 (Wed, 26 Jan 2022) Changed paths: M src/main/java/org/jvnet/hudson/test/HudsonTestCase.java M src/main/java/org/jvnet/hudson/test/JenkinsRule.java Log Message: ----------- Merge pull request #380 from jtnord/constrain-agent-memory constrain an agents memory Compare: https://github.com/jenkinsci/jenkins-test-harness/compare/c64e5da89277...6b1e34cb4ee6 -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/jenkins-test-harness/push/refs/heads/master/c64e5d-6b1e34%40github.com.