From 3cea79a13a70c47a2558598ce5e6515eb2a3d2d3 Mon Sep 17 00:00:00 2001 From: Nikolay Komarevskiy Date: Mon, 6 May 2024 15:35:49 +0000 Subject: [PATCH] (BOUN-1134) Temporarily disable strict routing assertion in API BN decentralization test --- .../api_boundary_nodes_integration.rs | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/rs/tests/src/boundary_nodes/api_boundary_nodes_integration.rs b/rs/tests/src/boundary_nodes/api_boundary_nodes_integration.rs index f8604dfbbd4..c5e8ac8debb 100644 --- a/rs/tests/src/boundary_nodes/api_boundary_nodes_integration.rs +++ b/rs/tests/src/boundary_nodes/api_boundary_nodes_integration.rs @@ -3,7 +3,6 @@ use discower_bowndary::{ fetch::{NodesFetcher, NodesFetcherImpl}, node::Node, route_provider::HealthCheckRouteProvider, - test_helpers::{assert_routed_domains, route_n_times}, }; use k256::SecretKey; @@ -274,15 +273,16 @@ pub fn decentralization_test(env: TestEnv) { seed_nodes, )); block_on(route_provider.run()); - // Wait till all nodes go through health checks. - std::thread::sleep(2 * check_interval); - // Do an additional assertions that routing works correctly. - let routed_domains = route_n_times(6, Arc::clone(&route_provider)); - assert_routed_domains( - routed_domains, - vec!["api1.com".into(), "api2.com".into()], - 3, - ); + // TODO: BOUN-1134 - Dissect seed phase health check in Discovery Library + // // Wait till all nodes go through health checks. + // std::thread::sleep(2 * check_interval); + // // Do an additional assertions that routing works correctly. + // let routed_domains = route_n_times(6, Arc::clone(&route_provider)); + // assert_routed_domains( + // routed_domains, + // vec!["api1.com".into(), "api2.com".into()], + // 3, + // ); // TODO: remove this once ic-agent 0.35.0 is released + call route_provider.stop() at the end Arc::try_unwrap(route_provider).unwrap() };