Increase verbose level for not found tempest tests

This warning prints old tempest tests (which are marked
as aliases in the guidelines) most of the time.
The warning confuses users becuase it may suggest that
a relevant test is missing, however, that's not the case,
aliases aren't supposed to be found because they were
renamed.

Therefore this commit increases the verbose level needed
to trigger these warnings. From now on, the warnings won't
be printed by default, debug level of verbosity will be
required.

Change-Id: Ic0e590d54d76e2d5839ced3f513e8b2ded705e6f
This commit is contained in:
Martin Kopec 2021-12-09 21:07:47 +00:00
parent ffcdca681b
commit e9af50764e
1 changed files with 2 additions and 2 deletions

View File

@ -147,8 +147,8 @@ class TestListParser(object):
else:
test_list.append(test_id + attr)
except KeyError:
self.logger.warning("Test %s not found in Tempest list." %
test_id)
self.logger.debug("Test %s not found in Tempest list." %
test_id)
self.logger.debug("Number of tests: " + str(len(test_list)))
return test_list