RFR: 8334333: MissingResourceCauseTestRun.java fails if run by root [v4]
SendaoYan
syan at openjdk.org
Fri Jun 21 00:43:19 UTC 2024
On Tue, 18 Jun 2024 07:41:35 GMT, SendaoYan <syan at openjdk.org> wrote:
>> Hi all,
>> Testcase `test/jdk/java/util/ResourceBundle/Control/MissingResourceCauseTestRun.java` run fails with root user privileged. I think it's necessary to skip this testcase when user is root.
>> Why run the jtreg test by root user? It's because during rpmbuild process for linux distribution of JDK, root user is the default user to build the openjdk, also is the default user to run the `make test-tier1`, this PR make this testcase more robustness.
>> The change has been verified, only change the testcase, no risk.
>
> SendaoYan has updated the pull request incrementally with one additional commit since the last revision:
>
> add bug id 8334333 to jtreg tag @bug
Thanks for the sponsor.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/19732#issuecomment-2181783165
More information about the core-libs-dev
mailing list