< prev index next >

doc/testing.md

Print this page
rev 54420 : 8221894: Add notes for docker tests in the test doc
Reviewed-by: erikj


 356 Amount of time to spend in each measurement iteration, in seconds. Same as
 357 specifying `-r <num>`
 358 
 359 #### WARMUP_ITER
 360 Number of warmup iterations to run before the measurement phase in each fork.
 361 Same as specifying `-wi <num>`.
 362 
 363 #### WARMUP_TIME
 364 Amount of time to spend in each warmup iteration. Same as specifying `-w <num>`.
 365 
 366 #### RESULTS_FORMAT
 367 Specify to have the test run save a log of the values. Accepts the same values
 368 as `-rff`, i.e., `text`, `csv`, `scsv`, `json`, or `latex`.
 369 
 370 #### VM_OPTIONS
 371 Additional VM arguments to provide to forked off VMs. Same as `-jvmArgs <args>`
 372 
 373 #### OPTIONS
 374 Additional arguments to send to JMH.
 375 














 376 ---
 377 # Override some definitions in the global css file that are not optimal for
 378 # this document.
 379 header-includes:
 380  - '<style type="text/css">pre, code, tt { color: #1d6ae5; }</style>'
 381 ---


 356 Amount of time to spend in each measurement iteration, in seconds. Same as
 357 specifying `-r <num>`
 358 
 359 #### WARMUP_ITER
 360 Number of warmup iterations to run before the measurement phase in each fork.
 361 Same as specifying `-wi <num>`.
 362 
 363 #### WARMUP_TIME
 364 Amount of time to spend in each warmup iteration. Same as specifying `-w <num>`.
 365 
 366 #### RESULTS_FORMAT
 367 Specify to have the test run save a log of the values. Accepts the same values
 368 as `-rff`, i.e., `text`, `csv`, `scsv`, `json`, or `latex`.
 369 
 370 #### VM_OPTIONS
 371 Additional VM arguments to provide to forked off VMs. Same as `-jvmArgs <args>`
 372 
 373 #### OPTIONS
 374 Additional arguments to send to JMH.
 375 
 376 ## Notes for Specific Tests
 377 
 378 ### Docker Tests
 379 
 380 Docker tests with default parameters may fail on the os newer than oraclelinux 7.6.
 381 For example, it is passed on Ubuntu 16.04 but failed on Ubuntu 18.04 with
 382 
 383     $ make test TEST="jtreg:test/hotspot/jtreg/runtime/containers/docker"
 384 
 385 To run these tests correctly, additional parameters for the correct docker image are
 386 required on Ubuntu 18.04 by using `JAVA_OPTIONS`.
 387 
 388     $ make test TEST="jtreg:test/hotspot/jtreg/runtime/containers/docker" JTREG="JAVA_OPTIONS=-Djdk.test.docker.image.name=ubuntu -Djdk.test.docker.image.version=latest"
 389 
 390 ---
 391 # Override some definitions in the global css file that are not optimal for
 392 # this document.
 393 header-includes:
 394  - '<style type="text/css">pre, code, tt { color: #1d6ae5; }</style>'
 395 ---
< prev index next >