[ 
https://issues.apache.org/jira/browse/FLINK-3737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15236136#comment-15236136
 ] 

ASF GitHub Bot commented on FLINK-3737:
---------------------------------------

GitHub user tlisonbee opened a pull request:

    https://github.com/apache/flink/pull/1872

    [FLINK-3737] testWikipediaEditsSource() adding comment about SOCKS proxy 
server

    WikipediaEditsSourceTest.testWikipediaEditsSource() fails without SOCKS 
proxy when developer is behind firewall.  Adding comment to make this easier 
for developers to track down in the future.
    
    Also, submitted similar change to flink-web,
    https://github.com/apache/flink-web/pull/18

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tlisonbee/flink FLINK-3737

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/1872.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1872
    
----
commit c068d82776733adb79c7e70f4cd487aec4c29108
Author: Todd Lisonbee <todd.lison...@intel.com>
Date:   2016-04-11T07:41:34Z

    [FLINK-3737] adding comment about SOCKS proxy server

----


> WikipediaEditsSourceTest.testWikipediaEditsSource() fails locally
> -----------------------------------------------------------------
>
>                 Key: FLINK-3737
>                 URL: https://issues.apache.org/jira/browse/FLINK-3737
>             Project: Flink
>          Issue Type: Bug
>          Components: Tests
>            Reporter: Todd Lisonbee
>            Priority: Minor
>              Labels: test-stability
>
> This test fails for me locally from both Maven command line and IntelliJ.
> This is on latest master as of 4/11/2016, apache-maven-3.1.1, openjdk version 
> "1.8.0_51"
> (It might be because I am behind a proxy).
> Error message:
> java.lang.NullPointerException
>       at org.schwering.irc.lib.IRCConnection.send(IRCConnection.java:394)
>       at 
> org.apache.flink.streaming.connectors.wikiedits.WikipediaEditEventIrcStream.leave(WikipediaEditEventIrcStream.java:77)
>       at 
> org.apache.flink.streaming.connectors.wikiedits.WikipediaEditsSource.close(WikipediaEditsSource.java:84)
>       at 
> org.apache.flink.api.common.functions.util.FunctionUtils.closeFunction(FunctionUtils.java:45)
>       at 
> org.apache.flink.streaming.api.operators.AbstractUdfStreamOperator.dispose(AbstractUdfStreamOperator.java:107)
>       at 
> org.apache.flink.streaming.runtime.tasks.StreamTask.disposeAllOperators(StreamTask.java:347)
>       at 
> org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:294)
>       at org.apache.flink.runtime.taskmanager.Task.run(Task.java:579)
>       at java.lang.Thread.run(Thread.java:745)
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 64.749 sec 
> <<< FAILURE! - in 
> org.apache.flink.streaming.connectors.wikiedits.WikipediaEditsSourceTest
> testWikipediaEditsSource(org.apache.flink.streaming.connectors.wikiedits.WikipediaEditsSourceTest)
>   Time elapsed: 64.744 sec  <<< FAILURE!
> org.junit.ComparisonFailure: expected:<[Expected test exception]> but 
> was:<[Connection timed out]>
>       at org.junit.Assert.assertEquals(Assert.java:115)
>       at org.junit.Assert.assertEquals(Assert.java:144)
>       at 
> org.apache.flink.streaming.connectors.wikiedits.WikipediaEditsSourceTest.testWikipediaEditsSource(WikipediaEditsSourceTest.java:53)



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

Reply via email to