From ebe6b0cadc64011d898ea9c24f1f672b75322c3a Mon Sep 17 00:00:00 2001 From: nadin-Starkware Date: Tue, 10 Dec 2024 15:54:58 +0200 Subject: [PATCH] Change sequencer_node_handle type commit-id:5edf2768 --- crates/starknet_integration_tests/src/flow_test_setup.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/starknet_integration_tests/src/flow_test_setup.rs b/crates/starknet_integration_tests/src/flow_test_setup.rs index f1d6ac6d0f..415494ff4d 100644 --- a/crates/starknet_integration_tests/src/flow_test_setup.rs +++ b/crates/starknet_integration_tests/src/flow_test_setup.rs @@ -93,7 +93,7 @@ pub struct SequencerSetup { pub rpc_storage_file_handle: TempDir, // Handle of the sequencer node. - pub sequencer_node_handle: JoinHandle>, + pub sequencer_node_handles: Vec>>, pub config: SequencerNodeConfig, } @@ -138,7 +138,7 @@ impl SequencerSetup { // Build and run the sequencer node. let sequencer_node_future = run_component_servers(servers); - let sequencer_node_handle = task_executor.spawn_with_handle(sequencer_node_future); + let sequencer_node_handles = vec![task_executor.spawn_with_handle(sequencer_node_future)]; // Wait for server to spin up. // TODO(Gilad): Replace with a persistent Client with a built-in retry to protect against CI @@ -150,7 +150,7 @@ impl SequencerSetup { add_tx_http_client, batcher_storage_file_handle: storage_for_test.batcher_storage_handle, rpc_storage_file_handle: storage_for_test.rpc_storage_handle, - sequencer_node_handle, + sequencer_node_handles, config, } }