[
https://issues.apache.org/jira/browse/NIFI-2685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15593033#comment-15593033
]
ASF subversion and git services commented on NIFI-2685:
-------------------------------------------------------
Commit 1d6582486ac7cfcc586b5a519c7964af3df23efe in nifi's branch refs/heads/0.x
from Andre F de Miranda
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=1d65824 ]
NIFI-2685 - Configure surefire to use JAVA Headless mode
> 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: Matt Burgess
> Priority: Trivial
> Fix For: 1.1.0, 0.8.0
>
>
> 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)