Put BackgroundProcess test in a individual test

This fixes the issue where the background test is run by
multiple classes

Change-Id: Iee29f411071d366d4c96de5bed61c3d8a24b444e
This commit is contained in:
r 2022-03-10 11:50:33 +02:00 committed by Federico Ressi
parent 0aa7025317
commit c77a8676cc
1 changed files with 5 additions and 2 deletions

View File

@ -59,8 +59,11 @@ class NetworkTest(testtools.TestCase):
self.assertEqual(self.stack.network_stack.ha,
gateway['ha'])
@pytest.mark.background
@undercloud.skip_if_missing_undercloud
@pytest.mark.background
@undercloud.skip_if_missing_undercloud
class BackgroundProcessTest(NetworkTest):
def test_check_background_vm_ping(self):
""" Tests that are designed to run in the background ,
then collect results.