Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions crates/apollo_integration_tests/src/flow_test_setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,11 @@ impl FlowSequencerSetup {
node_config.http_server_config.as_ref().unwrap().to_owned();
let add_tx_http_client = HttpTestClient::new(SocketAddr::from((ip, port)));

// Run the sequencer node.
tokio::spawn(run_component_servers(servers));
// Run the sequencer node on a new Tokio runtime inside a new OS thread.
std::thread::spawn(move || {
let rt = tokio::runtime::Builder::new_multi_thread().enable_all().build().unwrap();
rt.block_on(run_component_servers(servers));
});

Self {
node_index,
Expand Down
Loading