Repository navigation
Commit 2e2ffc0
authored
test(image_uris): derive pytorch-amzn2023 versions from config (#6385)
test_pytorch_amzn2023_training_uris compared the config's version list
against a hardcoded ["2.11", "2.12", "2.13"]. The automated
image_uri_configs update (#6374) added 2.14, so the exact-equality
assertion broke sagemaker-core unit tests on master.
Iterate over the versions present in the config, require a minimum set
of known versions, and check that the "latest" alias points to a
defined version, so future version additions do not break the test.1 parent d0abf32 commit 2e2ffc0
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
35 | | - | |
36 | | - | |
37 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
| |||
0 commit comments