Skip to content

Commit

Permalink
refactor(tests-integration): rename integration tests package (#1436)
Browse files Browse the repository at this point in the history
  • Loading branch information
alonh5 authored Oct 20, 2024
1 parent 67577f9 commit 69e6b54
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 50 deletions.
76 changes: 38 additions & 38 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/tests-integration/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "starknet_mempool_integration_tests"
name = "starknet_integration_tests"
version.workspace = true
edition.workspace = true
repository.workspace = true
Expand Down
11 changes: 4 additions & 7 deletions crates/tests-integration/src/bin/run_test_rpc_state_reader.rs
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
use std::future::pending;

use anyhow::Ok;
use starknet_mempool_infra::trace_util::configure_tracing;
use starknet_mempool_integration_tests::integration_test_config_utils::dump_config_file_changes;
use starknet_mempool_integration_tests::integration_test_utils::{
use starknet_integration_tests::integration_test_config_utils::dump_config_file_changes;
use starknet_integration_tests::integration_test_utils::{
create_config,
create_integration_test_tx_generator,
};
use starknet_mempool_integration_tests::state_reader::{
spawn_test_rpc_state_reader,
StorageTestSetup,
};
use starknet_integration_tests::state_reader::{spawn_test_rpc_state_reader, StorageTestSetup};
use starknet_mempool_infra::trace_util::configure_tracing;
use tracing::info;

#[tokio::main]
Expand Down
4 changes: 2 additions & 2 deletions crates/tests-integration/src/bin/run_test_tx_generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ use std::process::exit;
use papyrus_config::validators::config_validate;
use papyrus_config::ConfigError;
use starknet_http_server::config::HttpServerConfig;
use starknet_mempool_infra::trace_util::configure_tracing;
use starknet_mempool_integration_tests::integration_test_utils::{
use starknet_integration_tests::integration_test_utils::{
create_integration_test_tx_generator,
HttpTestClient,
};
use starknet_mempool_infra::trace_util::configure_tracing;
use starknet_mempool_node::config::SequencerNodeConfig;
use tracing::{error, info};

Expand Down
4 changes: 2 additions & 2 deletions crates/tests-integration/tests/end_to_end_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ use starknet_api::block::BlockNumber;
use starknet_api::transaction::TransactionHash;
use starknet_batcher_types::batcher_types::{BuildProposalInput, ProposalId, StartHeightInput};
use starknet_batcher_types::communication::SharedBatcherClient;
use starknet_mempool_integration_tests::integration_test_setup::IntegrationTestSetup;
use starknet_mempool_integration_tests::integration_test_utils::create_integration_test_tx_generator;
use starknet_integration_tests::integration_test_setup::IntegrationTestSetup;
use starknet_integration_tests::integration_test_utils::create_integration_test_tx_generator;

#[fixture]
fn tx_generator() -> MultiAccountTransactionGenerator {
Expand Down

0 comments on commit 69e6b54

Please sign in to comment.