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

Mark Bean reassigned NIFI-13711:
--------------------------------

    Assignee: Mark Bean

> Java property not honored in unit test
> --------------------------------------
>
>                 Key: NIFI-13711
>                 URL: https://issues.apache.org/jira/browse/NIFI-13711
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Mark Bean
>            Assignee: Mark Bean
>            Priority: Major
>
> In unit test 
> `LoadNativeLibAspectTest.testWhenNativeLibraryFileExistsThenCreateATempCopyAndProceedWithThat`,
>  there is a deliberate attempt to use the Java property value for 
> `java.io.tmpdir`. However, when the value of this property is modified to be 
> anything other than `/tmp`, the unit test fails.
> Example:
> mvn -Djava.io.tmpdir=/tmp/uniqueDir 
> -Dtest=LoadNativeAspectTest#testWhenNativeLibraryFileExistsThenCreateATempCopyAndProceedWithThat
>  test
> Result:
> org.opentest4j.AssertionFailedError: expected: </tmp/uniqueDir> but was: 
> </tmp>
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to