diff options
author | Guillaume CHAUVEL <guillaume.chauvel@gmail.com> | 2022-06-16 22:31:42 +0200 |
---|---|---|
committer | Guillaume CHAUVEL <guillaume.chauvel@gmail.com> | 2022-06-16 22:31:42 +0200 |
commit | c5b55e59c8644060f01137e8d771777c6b5d56dc (patch) | |
tree | 629652b13c85967486a377296939264ae43e2098 /tests | |
parent | 7b1f2cf14b3c99eb1de6f9801cf28fa2792def0f (diff) | |
download | zuul-c5b55e59c8644060f01137e8d771777c6b5d56dc.tar.gz |
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
Diffstat (limited to 'tests')
-rw-r--r-- | tests/remote/test_remote_zuul_stream.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/remote/test_remote_zuul_stream.py b/tests/remote/test_remote_zuul_stream.py index ede2a8eee..cc6be5e03 100644 --- a/tests/remote/test_remote_zuul_stream.py +++ b/tests/remote/test_remote_zuul_stream.py @@ -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') |