...
Code Block | ||
---|---|---|
| ||
def test_sample_twoevict(self): """Another sample test. :avocado: tags=all,pr,fulldaily_regression :avocado: tags=hw,largevm :avocado: tags=feature1pool,feature2pool_evict :avocado: tags=sample,sample_onepool_evict_basic """ |
How
...
Does Avocado Handle Sets of Tags?
Avocado uses a space to represent “and”, a comma to represent “or”, and a hyphen to represent “not”. For example:
pr ior
- All tests tagged withpr
and all tests tagged withior
pr,ior
- All tests tagged with bothpr
andior
pr,-ior
- All tests tagged withpr
but notior
How Do I Use Test Tags in a PR?
The /wiki/spaces/CI/pages/1389759093 are used to specify which tests are ran run for a PR. By default, all tests tagged with pr
are ran. I.e. Test-tag: pr
. To run specific tests, you should first identify which tags you need. See Feature Tags for a list of common tags. To run a specific test case, you will need to find it’s its tag in the test file. There are two pragmas to specify which tags to run:
...
Avocado Tag | Description |
---|---|
| Ran in CI for every PR. These are generally small core tests. |
| Ran in CI once daily. These are generally less critical than |
| Ran in CI weekly. These are generally less critical than |
| Manual tests for special purposes. These tests might: not run in CI, require special configuration, be for specific environments. |
| SOAK tests are ran manually at specified intervals. |
| Ran when deploying a new DAOS installation. |
...
Avocado Tag | Description |
---|---|
| Verifies |
| Verifies |
| Verifies |
| Verifies Data Mover utilities. Additional sub-tags:
|
| Verifies |
| Verifies DAOS on a newly deployed system. |
| Verifies |
| Verifies |
| Verifies |
| Verifies |
| Verifies online and offline |
| Verifies features related to |
| Verifies |
| Verifies |
| Verifies |
| Verifies |
...