Commit 816425a
committed
test(cli): retarget the runtime-inventory rejection to a training recipe
TestRecipeCommandRejectsRuntimeInventoryWithoutComponent hardcoded
gke/h100/cos/inference, which this branch makes declare k8s-aibom. The
command now succeeds there, so the test failed asserting a rejection that
no longer applies to those criteria.
Retargeted to a training recipe, which does not declare the component, so
the fail-closed path it covers is still exercised. The nil-error message
now says to pick different criteria rather than relax the assertion, which
is the same precondition pkg/client/v1's TestResolveRecipeRuntimeInventoryMode
already pins explicitly.
Signed-off-by: Mark Chmarny <mark@chmarny.com>1 parent f225cc4 commit 816425a
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
345 | 350 | | |
346 | 351 | | |
347 | 352 | | |
348 | | - | |
| 353 | + | |
349 | 354 | | |
350 | 355 | | |
351 | 356 | | |
352 | | - | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
353 | 360 | | |
354 | 361 | | |
355 | 362 | | |
| |||
0 commit comments