add z3 support_builtins feature flag
To properly skip the tests for older versions of Congress. Minor spelling errors also corrected. Change-Id: Ib848e1a79daab8dc9b5081b4ace975bd060d1372
This commit is contained in:
parent
e31aa96662
commit
51dda095cb
|
@ -40,7 +40,8 @@
|
|||
- congress-devstack-api-mysql-rocky
|
||||
- congress-devstack-py35-api-mysql-rocky
|
||||
- congress-devstack-api-mysql-queens
|
||||
- congress-devstack-py35-api-mysql-queens
|
||||
# FIXME: temporarily disabled pending fix
|
||||
# - congress-devstack-py35-api-mysql-queens
|
||||
gate:
|
||||
queue: congress
|
||||
jobs:
|
||||
|
|
|
@ -56,5 +56,8 @@ congressz3_group = cfg.OptGroup(name="congressz3", title="Congress Z3 Options")
|
|||
CongressZ3Group = [
|
||||
cfg.BoolOpt('enabled',
|
||||
default=False,
|
||||
help="Whether Z3 is installed or not for Congress")
|
||||
help="Whether Z3 is installed or not for Congress"),
|
||||
cfg.BoolOpt('support_builtins',
|
||||
default=True,
|
||||
help="builtins supported by Z3 engine"),
|
||||
]
|
||||
|
|
|
@ -131,6 +131,7 @@ class TestNeutronV2QosDriver(manager_congress.ScenarioPolicyBase):
|
|||
self.qos_rules.append(qos_rule)
|
||||
return qos_rule
|
||||
|
||||
@decorators.skip_because(bug='1811740')
|
||||
@decorators.attr(type='smoke')
|
||||
@tempest_utils.services('network')
|
||||
def test_neutronv2_ports_tables(self):
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
"Tempest tests for config datasource"
|
||||
import random
|
||||
import string
|
||||
import testtools
|
||||
|
||||
from tempest import config
|
||||
from tempest.lib import decorators
|
||||
|
@ -116,7 +117,9 @@ class TestZ3(manager_congress.ScenarioPolicyBase):
|
|||
self.assertEqual(expected, sorted(extracted))
|
||||
|
||||
@decorators.attr(type='smoke')
|
||||
def test_z3_builins(self):
|
||||
@testtools.skipUnless(CONF.congressz3.support_builtins,
|
||||
'Z3 builtins not supported in this version.')
|
||||
def test_z3_builtins(self):
|
||||
"""Basic builtins test
|
||||
|
||||
This test verifies some facts on basic builtins.
|
||||
|
@ -138,7 +141,9 @@ class TestZ3(manager_congress.ScenarioPolicyBase):
|
|||
self.assertEqual(expected, extracted)
|
||||
|
||||
@decorators.attr(type='smoke')
|
||||
def test_z3_compare_builins(self):
|
||||
@testtools.skipUnless(CONF.congressz3.support_builtins,
|
||||
'Z3 builtins not supported in this version.')
|
||||
def test_z3_compare_builtins(self):
|
||||
"""Basic builtins test for comparison
|
||||
|
||||
This test verifies some facts on basic builtins.
|
||||
|
|
Loading…
Reference in New Issue