Skip to content

Commit

Permalink
fixup: transaction pruning tests tokio::test
Browse files Browse the repository at this point in the history
  • Loading branch information
amnn committed Feb 12, 2025
1 parent a144f3b commit ba0a812
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ use sui_indexer_alt_framework::IndexerArgs;
use sui_indexer_alt_jsonrpc::{
config::RpcConfig, data::system_package_task::SystemPackageTaskArgs,
};
use sui_macros::sim_test;
use sui_types::{
base_types::SuiAddress,
crypto::{get_account_key_pair, Signature, Signer},
Expand Down Expand Up @@ -59,7 +58,7 @@ macro_rules! check_tx_digests {

/// Set-up a cluster where the filter (`tx_affected_addresses`) table is pruned more than the
/// digests table, and RPC calls querying transactions respect both pruning configurations.
#[sim_test]
#[tokio::test]
async fn test_filter_pruned() {
let mut cluster = cluster_with_pipelines(PipelineLayer {
tx_affected_addresses: Some(concurrent_pipeline(5)),
Expand Down Expand Up @@ -134,7 +133,7 @@ async fn test_filter_pruned() {
}

/// The same as the test above, but this time the digests are pruned more than the filter.
#[sim_test]
#[tokio::test]
async fn test_digests_pruned() {
let mut cluster = cluster_with_pipelines(PipelineLayer {
tx_affected_addresses: Some(concurrent_pipeline(10)),
Expand Down

0 comments on commit ba0a812

Please sign in to comment.