Limit scheduler count to 1 for Elasticsearch connection tests
These tests are storing the reported index on the fake elasticsearch backend which is a different instance for each scheduler. Thus, depending on which scheduler reports the item, the assertions in these tests might pass or fail. Change-Id: Ia5206d9c6097392ceff1abe6a911aedab22f2709
This commit is contained in:
parent
010167a792
commit
d780c469f5
|
@ -666,6 +666,12 @@ class TestElasticsearchConnection(AnsibleZuulTestCase):
|
|||
config_file = 'zuul-elastic-driver.conf'
|
||||
tenant_config_file = 'config/elasticsearch-driver/main.yaml'
|
||||
|
||||
# These tests are storing the reported index on the fake
|
||||
# elasticsearch backend which is a different instance for each
|
||||
# scheduler. Thus, depending on which scheduler reports the
|
||||
# item, the assertions in these test might pass or fail.
|
||||
scheduler_count = 1
|
||||
|
||||
def _getSecrets(self, job, pbtype):
|
||||
secrets = []
|
||||
build = self.getJobFromHistory(job)
|
||||
|
|
Loading…
Reference in New Issue