diff options
author | Lukas Larsson <[email protected]> | 2017-10-16 15:26:44 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2017-10-16 17:25:32 +0200 |
commit | c97216ecdd9e684f6f6e3bfee8fae8e2e8933f13 (patch) | |
tree | bf6f84c7ded09e9650414105628f28308a7fd447 /lib/jinterface/Makefile | |
parent | 4c9acce498df83106fb6b36e70386d3468673ce9 (diff) | |
download | otp-c97216ecdd9e684f6f6e3bfee8fae8e2e8933f13.tar.gz otp-c97216ecdd9e684f6f6e3bfee8fae8e2e8933f13.tar.bz2 otp-c97216ecdd9e684f6f6e3bfee8fae8e2e8933f13.zip |
jinterface: Skip tests when hostname cannot be resolved
Check that the hostname can be resolved by the native resolver.
What normally has happened when it cannot is that gethostname()
returned a fqdn and `hostname -s` is not part of /etc/hosts.
This is solved on the erlang side by adding `hostname -s` to inet_db,
but java does not have a similar mechanism, so it fails when
it tries to connect to `hostname -s`.
This caused jinterface tests to fail when run in such an environment,
and travis-ci recently started doing this.
Diffstat (limited to 'lib/jinterface/Makefile')
0 files changed, 0 insertions, 0 deletions