mirror of
https://bitbucket.org/atlassian-docker/docker-atlassian-confluence-server.git
synced 2024-08-30 18:22:16 +00:00
test: JVM_RESERVED_CODE_CACHE_SIZE env
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
This commit is contained in:
parent
05228aa72c
commit
5baee79ee2
@ -9,6 +9,7 @@ def test_jvm_args(docker_cli, image, run_user):
|
||||
environment = {
|
||||
'JVM_MINIMUM_MEMORY': '383m',
|
||||
'JVM_MAXIMUM_MEMORY': '2047m',
|
||||
'JVM_RESERVED_CODE_CACHE_SIZE': '384m',
|
||||
'JVM_SUPPORT_RECOMMENDED_ARGS': '-verbose:gc',
|
||||
}
|
||||
container = run_image(docker_cli, image, user=run_user, environment=environment)
|
||||
@ -19,6 +20,7 @@ def test_jvm_args(docker_cli, image, run_user):
|
||||
|
||||
assert f'-Xms{environment.get("JVM_MINIMUM_MEMORY")}' in jvm
|
||||
assert f'-Xmx{environment.get("JVM_MAXIMUM_MEMORY")}' in jvm
|
||||
assert f'-XX:ReservedCodeCacheSize={environment.get("JVM_RESERVED_CODE_CACHE_SIZE")}' in jvm
|
||||
assert environment.get('JVM_SUPPORT_RECOMMENDED_ARGS') in jvm
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user