[DOC] macOS localhost resolve for integ tests

This commit is contained in:
Albert Zaharovits 2017-08-23 11:59:25 +03:00
parent c3cc8262a7
commit c1452ff9ea
1 changed files with 14 additions and 0 deletions

View File

@ -548,3 +548,17 @@ included as part of the build by checking the projects of the build.
---------------------------------------------------------------------------
gradle projects
---------------------------------------------------------------------------
== Environment misc
There is a known issue with macOS localhost resolve strategy that can cause
some integration tests to fail. This is because integration tests have timings
for cluster formation, discovery, etc. that can be exceeded if name resolution
takes a long time.
To fix this, make sure you have your computer name (as returned by `hostname`)
inside `/etc/hosts`, e.g.:
....
127.0.0.1 localhost ElasticMBP.local
255.255.255.255 broadcasthost
::1 localhost ElasticMBP.local`
....