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 "Masatake Iwasaki (Jira)" <ji...@apache.org> on 2022/08/23 10:37:00 UTC

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

     [ https://issues.apache.org/jira/browse/HDFS-16625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Masatake Iwasaki resolved HDFS-16625.
-------------------------------------
    Hadoop Flags: Reviewed
      Resolution: Fixed

> 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.9
>            Reporter: Steve Vaughan
>            Assignee: Steve Vaughan
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 3.4.0, 3.3.9
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> 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.10#820010)

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