Need to look at
java/nio/MappedByteBuffer/PmemTest.java
The vendor initially skipped it in JDK24 ATR - do we need to convert the default to be AMD64?
the PmemTest has two test runs, one for default OS and then alternative which has @ignore set
/* @test
* @summary Testing NVRAM mapped byte buffer support
* @run main/manual PmemTest
* @requires (os.family == "linux")
* @requires (os.arch == "x86_64")
*/
/* @test
* @summary Testing NVRAM mapped byte buffer support
* @run main/manual PmemTest
* @requires (os.family == "linux")
* @requires ((os.arch == "amd64")|(os.arch == "aarch64")|(os.arch == "ppc64le"))
* @ignore The test described here is currently disabled on systems that are not
* x64-based and lack an external NVRAM memory device. In order to re-enable the
* test, you will need to mount the NVRAM device, which will typically appear as
* /dev/pmem0, to the directory /mnt/pmem. Once that is done, you can follow the
* instructions above to create a test directory and remove the ignore tag.
*/
As IMT default linux OS arch == amd64, the question is to either change the default run
/* @test
* @summary Testing NVRAM mapped byte buffer support
* @run main/manual PmemTest
* @requires (os.family == "linux")
* @requires (os.arch == "amd64")
*/
or revert to a single test, as was previously in place, deleting the first @test and removing the @ignore in the second.
/* @test
* @summary Testing NVRAM mapped byte buffer support
* @run main/manual PmemTest
* @requires (os.family == "linux")
* @requires ((os.arch == "amd64")|(os.arch == "aarch64")|(os.arch == "ppc64le")|(os.arch == "x86_64"))
* In order to enable the
* test, you will need to mount the NVRAM device, which will typically appear as
* /dev/pmem0, to the directory /mnt/pmem. Once that is done, you can follow the
* instructions above to create a test directory and remove the ignore tag.
*/
java/nio/MappedByteBuffer/PmemTest.java
The vendor initially skipped it in JDK24 ATR - do we need to convert the default to be AMD64?
the PmemTest has two test runs, one for default OS and then alternative which has @ignore set
/* @test
* @summary Testing NVRAM mapped byte buffer support
* @run main/manual PmemTest
* @requires (os.family == "linux")
* @requires (os.arch == "x86_64")
*/
/* @test
* @summary Testing NVRAM mapped byte buffer support
* @run main/manual PmemTest
* @requires (os.family == "linux")
* @requires ((os.arch == "amd64")|(os.arch == "aarch64")|(os.arch == "ppc64le"))
* @ignore The test described here is currently disabled on systems that are not
* x64-based and lack an external NVRAM memory device. In order to re-enable the
* test, you will need to mount the NVRAM device, which will typically appear as
* /dev/pmem0, to the directory /mnt/pmem. Once that is done, you can follow the
* instructions above to create a test directory and remove the ignore tag.
*/
As IMT default linux OS arch == amd64, the question is to either change the default run
/* @test
* @summary Testing NVRAM mapped byte buffer support
* @run main/manual PmemTest
* @requires (os.family == "linux")
* @requires (os.arch == "amd64")
*/
or revert to a single test, as was previously in place, deleting the first @test and removing the @ignore in the second.
/* @test
* @summary Testing NVRAM mapped byte buffer support
* @run main/manual PmemTest
* @requires (os.family == "linux")
* @requires ((os.arch == "amd64")|(os.arch == "aarch64")|(os.arch == "ppc64le")|(os.arch == "x86_64"))
* In order to enable the
* test, you will need to mount the NVRAM device, which will typically appear as
* /dev/pmem0, to the directory /mnt/pmem. Once that is done, you can follow the
* instructions above to create a test directory and remove the ignore tag.
*/
- relates to
-
JDK-8300912 Update java/nio/MappedByteBuffer/PmemTest.java to run on x86_64 only
-
- Resolved
-