You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Andy LoPresto (JIRA)" <ji...@apache.org> on 2016/04/20 05:14:25 UTC
[jira] [Created] (NIFI-1789) TestPutUDP testUnkownHostname fails
because all hostnames resolve
Andy LoPresto created NIFI-1789:
-----------------------------------
Summary: TestPutUDP testUnkownHostname fails because all hostnames resolve
Key: NIFI-1789
URL: https://issues.apache.org/jira/browse/NIFI-1789
Project: Apache NiFi
Issue Type: Bug
Components: Core Framework
Affects Versions: 0.6.1
Reporter: Andy LoPresto
Fix For: 0.7.0
On some systems, arbitrary hostnames (e.g. {{sgfgfdgs}}) resolves to a valid IP address depending on the DNS resolution scheme. Therefore, the test, which assumes that the host does not resolve, fails.
{{hw12203:/Users/alopresto (master) alopresto
🔓 0s @ 20:10:32 $ nslookup asdfsdfsdf
Server: 192.168.1.1
Address: 192.168.1.1#53
Non-authoritative answer:
Name: asdfsdfsdf
Address: 198.105.254.228
Name: asdfsdfsdf
Address: 198.105.244.228
hw12203:/Users/alopresto (master) alopresto
🔓 39s @ 20:12:24 $ dig asdfasdf
; <<>> DiG 9.8.3-P1 <<>> asdfasdf
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31295
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;asdfasdf. IN A
;; ANSWER SECTION:
asdfasdf. 10 IN A 198.105.254.228
asdfasdf. 10 IN A 198.105.244.228
;; Query time: 81 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Tue Apr 19 20:12:30 2016
;; MSG SIZE rcvd: 58
hw12203:/Users/alopresto (master) alopresto
🔓 0s @ 20:12:30 $}}
Reported on Mac OS X 10.11.4
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)