Fix the integrated gate filtering on uncategorized
When stackforge was compacted into the openstack/ git namespace this broke our filtering on just integrated gate projects. This commit does 2 things to handle this. First it takes a list of the projects using the integrated gate job template from zuul's layout.yaml and uses that to be the filter. This way we actual have a view of the integrated gate again. It then makes a second page for all the other projects failures which can be used by those to track uncategorized failures. A future next step will be to add a config file to make the functional split of these views configurable so that we can more easily adjust the split as the interactions between projects change. Change-Id: I41c8ae1e75e8a3d8893f6af5af7c283b5f5c1bcf
This commit is contained in:
@@ -54,5 +54,8 @@ class TestUncategorizedFails(testtools.TestCase):
|
||||
all_fails = fails.all_fails(classifier)
|
||||
# assert that we only have the single result
|
||||
self.assertThat(all_fails,
|
||||
testtools.matchers.HasLength(2))
|
||||
self.assertThat(all_fails['integrated_gate'],
|
||||
testtools.matchers.HasLength(1))
|
||||
self.assertIn('gate-tempest-dsvm-full', all_fails.keys()[0])
|
||||
self.assertIn('gate-tempest-dsvm-full',
|
||||
all_fails['integrated_gate'].keys()[0])
|
||||
|
||||
Reference in New Issue
Block a user