tempest/tempest/common
Slawek Kaplonski 126fe656a9 Wait couple of seconds for dns servers to be set in the guest
In test
tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_subnet_details
there is renewal of the DHCP lease made to configure dns nameservers.
And sometimes this test is failing due to missing nameservers in the
/etc/resolv.conf file in the guest VM.
After analyzing logs from such failed jobs I think that the reason of
that may be race between getting dns nameservers from guest VM by test
and actually configuring it inside the guest vm.
So this patch proposes to add wait (5 seconds by default) for non empty
list of the dns nameservers returned from the guest VM. That should
avoid such failures of that test.

Closes-bug: #1914229
Change-Id: I093ae5c11f88cc29e91285ff674788de53645b4e
2021-07-23 13:22:16 +02:00
..
utils Wait couple of seconds for dns servers to be set in the guest 2021-07-23 13:22:16 +02:00
__init__.py Changes the namespace from storm to tempest, as well as adding addition tests and improvements 2011-12-06 16:48:03 -06:00
compute.py Remove usage of six 2021-02-18 10:43:57 +08:00
credentials_factory.py Add system scope for admin auth 2021-01-11 19:11:45 +00:00
custom_matchers.py Remove checking of Accept-Range header 2020-07-08 08:55:18 +00:00
identity.py Add autopep8 to tox.ini 2019-03-08 16:04:05 +01:00
image.py Replace six.iteritems with dict.items 2017-01-03 23:17:34 +00:00
tempest_fixtures.py Update all Oslo module use 2015-03-11 21:07:56 +00:00
waiters.py Add wait to check the import task status 2021-04-30 13:01:02 -05:00