Randomize ES1 cluster names so tests don't join each others' clusters
Description
It looks like the Elasticsearch 1 integration tests are flapping because occasionally the Bamboo machines will launch an Elasticsearch 1 service at the same time and they will cluster with each other via broadcast discovery. This can lead to extra events appearing in the ES index. Tests will then fail with a message like:
To verify that this fix is working on the Elasticsearch 1 test, you should be able to look at the cluster name and see that it has been changed to a randomized value:
It looks like the Elasticsearch 1 integration tests are flapping because occasionally the Bamboo machines will launch an Elasticsearch 1 service at the same time and they will cluster with each other via broadcast discovery. This can lead to extra events appearing in the ES index. Tests will then fail with a message like: