You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Pierre Villard (JIRA)" <ji...@apache.org> on 2016/03/23 09:41:25 UTC

[jira] [Created] (NIFI-1671) TestListFile: unit test failing on Windows with specific accounts configuration

Pierre Villard created NIFI-1671:
------------------------------------

             Summary: TestListFile: unit test failing on Windows with specific accounts configuration
                 Key: NIFI-1671
                 URL: https://issues.apache.org/jira/browse/NIFI-1671
             Project: Apache NiFi
          Issue Type: Bug
          Components: Extensions
    Affects Versions: 0.5.1
         Environment: Windows 7 Pro, Maven 3.3.9, Java 8
            Reporter: Pierre Villard
            Priority: Minor


In TestListFile, with test testAttributesSet, it fails at

assertTrue(mock1.getAttribute(ListFile.FILE_OWNER_ATTRIBUTE).contains(userName));

If I look further:
mock1.getAttribute(ListFile.FILE_OWNER_ATTRIBUTE) is equal to "BUILTIN\Administrateurs"
when userName = System.getProperty("user.name") is equal to "pvillard"

I believe this is something related to a very specific configuration on my company laptop.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)