Skip to content

Commit

Permalink
chore(github-sync): PR#294 / chore: Improve Upgrade with Alternative …
Browse files Browse the repository at this point in the history
…URLs test
  • Loading branch information
push-from-github authored and eichhorl committed Jul 1, 2024
1 parent 2c6d649 commit 0806424
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 0806424

Please sign in to comment.