[
https://issues.apache.org/jira/browse/NIFI-2685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15481794#comment-15481794
]
Joseph Witt commented on NIFI-2685:
-----------------------------------
[~tkurc] i do share the view that the system property setting in the pom is
fair game based on what Andre raised (build environment to match execution
environment).
In some cases the build fails and in others during the build you see a window
pop up and go away. I"d like to avoid both and this fix does that. I think
your point about proper environmental settings is still true but this pom
change fixes the spirit of the JIRA.
[~trixpan] I'm a +1 but let's see what Tony says.
> Builds fails due to "java.awt.AWTError: Can't connect to X11 window server "
> ----------------------------------------------------------------------------
>
> Key: NIFI-2685
> URL: https://issues.apache.org/jira/browse/NIFI-2685
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Andre
> Assignee: Andre
> Priority: Trivial
>
> When building NiFi on a machine with ssh X11 forwarding enabled, maven may
> fail to build due to the following error:
> {code}
> testResize(org.apache.nifi.processors.image.TestResizeImage) Time elapsed:
> 2.22 sec <<< FAILURE!
> java.lang.AssertionError: java.awt.AWTError: Can't connect to X11 window
> server using 'localhost:12.0' as the value of the DISPLAY variable.
> at
> org.apache.nifi.util.StandardProcessorTestRunner.run(StandardProcessorTestRunner.java:192)
> at
> org.apache.nifi.util.StandardProcessorTestRunner.run(StandardProcessorTestRunner.java:151)
> at
> org.apache.nifi.util.StandardProcessorTestRunner.run(StandardProcessorTestRunner.java:146)
> at
> org.apache.nifi.util.StandardProcessorTestRunner.run(StandardProcessorTestRunner.java:141)
> at
> org.apache.nifi.util.StandardProcessorTestRunner.run(StandardProcessorTestRunner.java:136)
> at
> org.apache.nifi.processors.image.TestResizeImage.testResize(TestResizeImage.java:44)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)