File new-elasticsearch.patch of Package python-osprofiler
submitted as https://review.opendev.org/c/openstack/osprofiler/+/927749
Index: osprofiler-4.2.0/osprofiler/tests/unit/drivers/test_elasticsearch.py
===================================================================
--- osprofiler-4.2.0.orig/osprofiler/tests/unit/drivers/test_elasticsearch.py
+++ osprofiler-4.2.0/osprofiler/tests/unit/drivers/test_elasticsearch.py
@@ -23,7 +23,7 @@ class ElasticsearchTestCase(test.TestCas
def setUp(self):
super(ElasticsearchTestCase, self).setUp()
- self.elasticsearch = ElasticsearchDriver("elasticsearch://localhost")
+ self.elasticsearch = ElasticsearchDriver("elasticsearch://localhost:9001/")
self.elasticsearch.project = "project"
self.elasticsearch.service = "service"