From e3ef8da2fc3d26b4fcf0a7a97d35ad8959372942 Mon Sep 17 00:00:00 2001 From: Lev Roitman Date: Tue, 10 Dec 2024 17:29:01 +0200 Subject: [PATCH] chore(starknet_integration_tests): running end to end integration test as binary commit-id:b11c15b5 --- .../workflows/sequencer_integration_tests.yml | 6 ++--- .../tests/end_to_end_integration_test.rs | 23 ------------------- 2 files changed, 3 insertions(+), 26 deletions(-) delete mode 100644 crates/starknet_integration_tests/tests/end_to_end_integration_test.rs diff --git a/.github/workflows/sequencer_integration_tests.yml b/.github/workflows/sequencer_integration_tests.yml index 06225562a5..f608550260 100644 --- a/.github/workflows/sequencer_integration_tests.yml +++ b/.github/workflows/sequencer_integration_tests.yml @@ -10,7 +10,6 @@ on: - edited env: - SEQUENCER_INTEGRATION_TESTS: 1 RUSTFLAGS: "-D warnings" # On PR events, cancel existing CI runs on this same PR for this workflow. @@ -25,5 +24,6 @@ jobs: - uses: actions/checkout@v4 - uses: ./.github/actions/bootstrap - run: | - cargo build --bin starknet_sequencer_node - cargo test --test end_to_end_integration_test + cargo build --bin e2e_integration_test + target/debug/e2e_integration_test + diff --git a/crates/starknet_integration_tests/tests/end_to_end_integration_test.rs b/crates/starknet_integration_tests/tests/end_to_end_integration_test.rs deleted file mode 100644 index f36d95aae2..0000000000 --- a/crates/starknet_integration_tests/tests/end_to_end_integration_test.rs +++ /dev/null @@ -1,23 +0,0 @@ -use mempool_test_utils::starknet_api_test_utils::MultiAccountTransactionGenerator; -use rstest::{fixture, rstest}; -use starknet_integration_tests::end_to_end_integration::end_to_end_integration; -use starknet_integration_tests::utils::{ - create_integration_test_tx_generator, - run_integration_test, -}; -use starknet_sequencer_infra::trace_util::configure_tracing; - -#[fixture] -fn tx_generator() -> MultiAccountTransactionGenerator { - create_integration_test_tx_generator() -} - -#[rstest] -#[tokio::test] -async fn test_end_to_end_integration(tx_generator: MultiAccountTransactionGenerator) { - if !run_integration_test() { - return; - } - configure_tracing().await; - end_to_end_integration(tx_generator).await; -}