tempest/releasenotes/notes/add-unstable_test-decorator-a73cf97d4ffcc796.yaml
Slawek Kaplonski 21f53012f7 Add unstable_test decorator
This decorator can be used to temporarily mark some tests as unstable.
This may help sometimes to debug such test which is failing often
but not always in the gate because it will still be run but will
not cause all job failure when it fails.

This may be also used to easily track in logstash how often
such test is failing by looking for describption of unstability
reason set in decorator.

Change-Id: I79ce70f479506ec2b3216747d533ff2e450685aa
Related-Bug: #1813198
2019-04-11 17:42:40 +00:00

12 lines
588 B
YAML

---
features:
- |
New decorator ``unstable_test`` is added to ``tempest.lib.decorators``.
It can be used to mark some test as unstable thus it will be still run
by tempest but job will not fail if this test will fail. Such test will
be skipped in case of failure.
It can be used for example when there is known bug related which cause
irregular tests failures. Marking such test as unstable will help other
developers to get their job done and still run this test to get additional
debug data or to confirm if some potential fix really solved the issue.