Merge "Fix error in test_jobs_executed"

This commit is contained in:
Zuul 2018-03-13 09:43:16 +00:00 committed by Gerrit Code Review
commit 0c1a73be9c
1 changed files with 2 additions and 1 deletions

View File

@ -115,7 +115,8 @@ class TestScheduler(ZuulTestCase):
self.assertReportedStat(
'zuul.tenant.tenant-one.pipeline.gate.project.review_example_com.'
'org_project.master.total_changes', value='1|c')
exec_key = 'zuul.executor.%s' % self.executor_server.hostname
exec_key = 'zuul.executor.%s' % self.executor_server.hostname.replace(
'.', '_')
self.assertReportedStat(exec_key + '.builds', value='1|c')
self.assertReportedStat('zuul.nodepool.requested', value='1|c')
self.assertReportedStat('zuul.nodepool.requested.label.label1',