Skip to content

Commit

Permalink
Merge branch 'mirroring-eichhorl/fix-upgrade-with-url' into 'master'
Browse files Browse the repository at this point in the history
chore(github-sync): PR#294 / chore: Improve Upgrade with Alternative URLs test

[GitHub PR 294](#294) (branch: eichhorl/fix-upgrade-with-url) 

See merge request dfinity-lab/public/ic!20152
  • Loading branch information
eichhorl committed Jul 1, 2024
2 parents 0d6b7de + 0806424 commit 023f289
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions rs/tests/src/orchestrator/upgrade_with_alternative_urls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ use crate::{
test_env_api::*,
},
orchestrator::utils::upgrade::{
bless_replica_version_with_urls, deploy_guestos_to_all_subnet_nodes,
get_assigned_replica_version, UpdateImageType,
assert_assigned_replica_version, bless_replica_version_with_urls,
deploy_guestos_to_all_subnet_nodes, get_assigned_replica_version, UpdateImageType,
},
util::{block_on, get_nns_node},
};
Expand Down Expand Up @@ -92,12 +92,12 @@ pub fn test(env: TestEnv) {
let test_version = format!("{}-test", original_version);
block_on(deploy_guestos_to_all_subnet_nodes(
&nns_node,
&ReplicaVersion::try_from(test_version).unwrap(),
&ReplicaVersion::try_from(test_version.clone()).unwrap(),
subnet_id,
));

info!(logger, "Waiting until the replica process is killed");
info!(logger, "Waiting until the subnet is upgraded");

// Wait until the replica process is killed.
nns_node.await_status_is_unavailable().unwrap();
// Wait until the subnet is upgraded.
assert_assigned_replica_version(&nns_node, &test_version, logger);
}

0 comments on commit 023f289

Please sign in to comment.