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

ASF subversion and git services commented on NIFI-1749:
-------------------------------------------------------

Commit e76a75c26bbe64adc8a35fa1f8846c3fd45f632d in nifi's branch 
refs/heads/master from [~aldrin]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=e76a75c ]

NIFI-1749 This closes #342. Adjusting tests that fail without a connection to 
the Internet and removing attributable elements from test resources.

Signed-off-by: joewitt <joew...@apache.org>


> Test failures when building without access to internet
> ------------------------------------------------------
>
>                 Key: NIFI-1749
>                 URL: https://issues.apache.org/jira/browse/NIFI-1749
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Tools and Build
>    Affects Versions: 0.6.0
>            Reporter: Aldrin Piri
>            Assignee: Aldrin Piri
>            Priority: Minor
>
> Given the needed dependencies within the Maven local repository, some tests 
> will fail without access to the Internet.
> {code}
> testCSSSelectorSyntaxValidator(org.apache.nifi.TestGetHTMLElement)  Time 
> elapsed: 0.947 sec  <<< ERROR!
> java.net.UnknownHostException: www.google.com
>       at 
> java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
>       at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
>       at java.net.Socket.connect(Socket.java:589)
>       at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
>       at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
>       at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
>       at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
>       at sun.net.www.http.HttpClient.New(HttpClient.java:308)
>       at sun.net.www.http.HttpClient.New(HttpClient.java:326)
>       at 
> sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1169)
>       at 
> sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105)
>       at 
> sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999)
>       at 
> sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:933)
>       at 
> org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:512)
>       at 
> org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:493)
>       at org.jsoup.helper.HttpConnection.execute(HttpConnection.java:205)
>       at org.jsoup.helper.HttpConnection.get(HttpConnection.java:194)
>       at org.jsoup.Jsoup.parse(Jsoup.java:183)
>       at 
> org.apache.nifi.TestGetHTMLElement.testCSSSelectorSyntaxValidator(TestGetHTMLElement.java:49)
> {code}
> {quote}
> DeleteDynamoDBTest.testStringHashStringRangeDeleteOnlyHashFailure:89 null
> GetDynamoDBTest.testStringHashStringRangeGetOnlyHashFailure:421 null
> PutDynamoDBTest.testStringHashStringRangePutOnlyHashFailure:92 null
> {quote}



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

Reply via email to