On Thu, 25 Jul 2024 09:50:10 GMT, SendaoYan <s...@openjdk.org> wrote:
>> Hi all, >> Test `test/jdk/java/lang/invoke/lambda/LogGeneratedClassesTest.java` fails >> on rpm build mock environment. The `df -h` command return fail `df: cannot >> read table of mounted file systems: No such file or directory` on the rpm >> build mock environment also. I think it's a environmental issue, and the >> environmental issue should not cause the test fails, it should skip the test. >> >> Only change the testcase, the change has been verified locally, no risk. > > SendaoYan has updated the pull request incrementally with one additional > commit since the last revision: > > 1. Just catch the IOException here when getting the FileStore and skip the > test instead of checking for specific exception messages. 2. Throw a > org.testng.SkipException instead print and return Would it possible to provide a summary on how Mock works and how we end up with the current directory in a location that doesn't have a mount point? ------------- PR Comment: https://git.openjdk.org/jdk/pull/19905#issuecomment-2249991703