Inherit from tempest's BaseTestCase
among other things, the tempest.test.BaseTestCase implements
'serial' code execution via interprocess lock - while a test
marked as 'serial' runs, no other test can run.
Heat-tempest-plugin currently completely ignores that, resulting
in heat tests running together with 'serial' tests,
sometimes breaking the latter (e.g. aggregate tests can not add
host to aggregate because the host is unexpectedly not empty).
This commit makes heat-tempest-plugin's BaseTestCase inherit from
tempest.test.BaseTestCase, thus making heat tests respect the
'serial' flag.
Some methods were renamed to not shadow over the same named ones
from tempest.
Related-Issue: PRODX-56296
Change-Id: If4f12f2ff7132046afa8c7ee7028d7a6b5d2d549
1 file changed