You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Steve Vaughan (Jira)" <ji...@apache.org> on 2022/06/07 00:29:00 UTC

[jira] [Created] (HDFS-16625) Unit tests aren't checking for PMDK availability

Steve Vaughan created HDFS-16625:
------------------------------------

             Summary: Unit tests aren't checking for PMDK availability
                 Key: HDFS-16625
                 URL: https://issues.apache.org/jira/browse/HDFS-16625
             Project: Hadoop HDFS
          Issue Type: Test
          Components: test
    Affects Versions: 3.4.0, 3.3.4
            Reporter: Steve Vaughan


There are unit tests that require native PMDK libraries which aren't checking if the library is available, resulting in unsuccessful test.  Adding the following in the test setup addresses the problem.
{code:java}
assumeTrue ("Requires PMDK", NativeIO.POSIX.isPmdkAvailable()); {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org