Hi,

TestRawLocalFileSystemContract#testPermission fails with
UnsatisfiedLinkError, even if I'm running with `./mvnw test
-Drequire.test.libhadoop=false`. From code it's clear that there is no
condition whether native code is loaded and it's called all the time
[1].

Shouldn't there be a condition that check `require.test.libhadoop` and
ignore the test if `false`? As in TestNativeCodeLoader[2]. Or is there
any other way how to run all tests without native parts?

Thanks!

[1] -
https://github.com/apache/hadoop/blob/a55d6bba71c81c1c4e9d8cd11f55c78f10a548b0/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestRawLocalFileSystemContract.java#L112
[2] -
https://github.com/apache/hadoop/blob/a55d6bba71c81c1c4e9d8cd11f55c78f10a548b0/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/util/TestNativeCodeLoader.java#L43

-- 
Michal Vala
OpenJDK QE | Red Hat Czech

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to