Commit 1ee307e
authored
Since tmt-1.55 keys unrecognized by a schema are considered a fail and
not a warn.
TMT defaults to insert the `name` in the execute phase before the schema
validation, resulting in a 'name': 'default-x'.
Example:
```
warn: /upgrade:execute - {'how': 'upgrade', 'url': 'https://gitlab.cee.redhat.com/oamg/rhel-major-upgrade', 'upgrade-path': '9to10.cut', 'name': 'default-0'} is not valid under any of the given schemas
```
Added `name` key in the upgrade schema.
Removed the expectation of a `name` key not being recognized by a schema
from test.
Fixes teemtee#3974
1 parent e9a681c commit 1ee307e
2 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
| |||
0 commit comments