Skip to Content
Hands-On Software Engineering with Golang
book

Hands-On Software Engineering with Golang

by Achilleas Anagnostopoulos
January 2020
Intermediate to advanced
640 pages
16h 56m
English
Packt Publishing
Content preview from Hands-On Software Engineering with Golang

Running tests that require Elasticsearch

To run the link graph tests that use Elasticsearch as a backend, you will need to download a recent version of Elasticsearch (v7.2.0 or newer) from https://www.elastic.co/downloads/elasticsearch.

After downloading and unpacking the Elasticsearch archive, you can change to the location of the extracted files and start a local Elasticsearch instance (with a sane list of default configuration options) by running the following command:

bin/elasticsearch

The Elasticsearch tests obtain the list of Elasticsearch cluster endpoints to connect to by examining the contents of the ES_NODES environment variable. Assuming that you have started a local Elasticsearch instance by following the instructions above, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Software Architecture with Golang

Hands-On Software Architecture with Golang

Jyotiswarup Raiturkar

Publisher Resources

ISBN: 9781838554491Supplemental Content