Fix zuul_stream test setup

TestZuulStream28 and TestZuulStream29 have 2 base classes.
As class variable wait_timeout is defined in both classes, the value
from the first one (AnsibleZuulTestCase) was used. define wait_timeout
in setUp function to initialize to the expected value.

Change-Id: Id9626190a72ce8b0f2e5a2847396bad8abfcbc32
This commit is contained in:
Guillaume CHAUVEL 2022-06-16 22:31:42 +02:00
parent 7b1f2cf14b
commit c5b55e59c8
No known key found for this signature in database
GPG Key ID: 0333B61A4CD945D4
1 changed files with 1 additions and 1 deletions

View File

@ -23,12 +23,12 @@ class FunctionalZuulStreamMixIn:
tenant_config_file = 'config/remote-zuul-stream/main.yaml'
# This should be overriden in child classes.
ansible_version = '2.9'
wait_timeout = 120
def _setUp(self):
self.log_console_port = 19000 + int(
self.ansible_core_version.split('.')[1])
self.executor_server.log_console_port = self.log_console_port
self.wait_timeout = 120
self.fake_nodepool.remote_ansible = True
ansible_remote = os.environ.get('ZUUL_REMOTE_IPV4')