Repository navigation
Commit fe47492
committed
test(conformance): port workspace lifecycle tests to testkit
Move e2e/rust workspace_lifecycle into a conformance workspaces suite on
#[testkit::test], split into workspace_full_crud_lifecycle,
template_is_scoped_to_its_workspace and workspace_terminating_rejects_creates.
Use a sandbox template as the scoped resource so no provider profile is
needed, and assert on exit status and listed state rather than message text.
A refused workspace delete is checked to leave the workspace Terminating, so
the failure is the resource guard rather than an unrelated error.
Add Context::cli_find_listed to testkit to find an entry in a paginated
--output json listing, erroring when the collection key is missing. Use it
in the workspaces suite and in conformance/src/cli.rs, and list it in the
testkit README.
Drop the legacy test, its Cargo target, and its Podman archive exclusion.
Signed-off-by: Evan Lezar <elezar@nvidia.com>
Signed-off-by: politerealism <burdcat17@gmail.com>1 parent b4a6541 commit fe47492
9 files changed
Lines changed: 275 additions & 330 deletions
File tree
- e2e/rust
- tests
- tests
- suites/conformance
- src
- testkit
- testkit/src
- tmachine
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | 222 | | |
228 | 223 | | |
229 | 224 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 13 | | |
20 | 14 | | |
21 | 15 | | |
| |||
99 | 93 | | |
100 | 94 | | |
101 | 95 | | |
102 | | - | |
103 | | - | |
| 96 | + | |
104 | 97 | | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
142 | 102 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
0 commit comments