Skip to content

Commit

Permalink
Merge branch 'alic/fix-update-img-url' into 'master'
Browse files Browse the repository at this point in the history
fix: Set correct URLs in registry when using with_mainnet_config

When starting a system test with the `with_mainnet_config` option, we boot the correct disk image, but don't set the correct update image URLs in the registry. This MR fixes that. 

See merge request dfinity-lab/public/ic!15694
  • Loading branch information
dist1ll committed Oct 26, 2023
2 parents 089fb00 + 49595a9 commit 222ce65
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rs/tests/src/driver/bootstrap.rs
Expand Up @@ -167,6 +167,11 @@ pub fn init_ic(
test_env.get_malicious_ic_os_update_img_sha256()?,
test_env.get_malicious_ic_os_update_img_url()?,
)
} else if ic.with_mainnet_config {
(
test_env.get_mainnet_ic_os_update_img_sha256()?,
test_env.get_mainnet_ic_os_update_img_url()?,
)
} else {
(
test_env.get_ic_os_update_img_sha256()?,
Expand Down

0 comments on commit 222ce65

Please sign in to comment.