The tests frequently, but not always, fail with a timeout while waiting for elasticsearch to reindex.
not ok 35 internationalization translating memberships in the API allows memberships using translated documents to be created over the API
Error: timeout of 2000ms exceeded
at null.<anonymous> (/home/travis/build/mysociety/popit-api/node_modules/mocha/lib/runnable.js:158:19)
at Timer.listOnTimeout [as ontimeout] (timers.js:112:15)
Error: IndexMissingException[[test-popit-api-db] missing]
at respond (/home/travis/build/mysociety/popit-api/node_modules/elasticsearch/src/lib/transport.js:225:15)
at checkRespForFailure (/home/travis/build/mysociety/popit-api/node_modules/elasticsearch/src/lib/transport.js:193:7)
at HttpConnector.<anonymous> (/home/travis/build/mysociety/popit-api/node_modules/elasticsearch/src/lib/connectors/http.js:152:7)
at IncomingMessage.bound (/home/travis/build/mysociety/popit-api/node_modules/elasticsearch/node_modules/lodash-node/modern/internals/baseBind.js:56:17)
at IncomingMessage.emit (events.js:117:20)
at _stream_readable.js:944:16
at process._tickCallback (node.js:442:13)
The tests frequently, but not always, fail with a timeout while waiting for elasticsearch to reindex.