From 5459d2504d5fc7c69a860ce3cb1f4cc1f2187b76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Chuda=C5=9B?= Date: Fri, 10 Jan 2025 16:38:47 +0100 Subject: [PATCH] revert ignores --- .../src/test_loop/tests/resharding_v3.rs | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/integration-tests/src/test_loop/tests/resharding_v3.rs b/integration-tests/src/test_loop/tests/resharding_v3.rs index e70533da869..c9413ba5841 100644 --- a/integration-tests/src/test_loop/tests/resharding_v3.rs +++ b/integration-tests/src/test_loop/tests/resharding_v3.rs @@ -50,7 +50,7 @@ const INCREASED_EPOCH_LENGTH: u64 = 8; const GC_NUM_EPOCHS_TO_KEEP: u64 = 3; /// Maximum number of epochs under which the test should finish. -const TESTLOOP_NUM_EPOCHS_TO_WAIT: u64 = 10; +const TESTLOOP_NUM_EPOCHS_TO_WAIT: u64 = 8; /// Default shard layout version used in resharding tests. const DEFAULT_SHARD_LAYOUT_VERSION: u64 = 2; @@ -623,6 +623,8 @@ fn test_resharding_v3_do_not_track_children_after_resharding() { } #[test] +// TODO(resharding): Increase `TESTLOOP_NUM_EPOCHS_TO_WAIT` to 10, fix nearcore, and un-ignore this test +#[ignore] fn test_resharding_v3_stop_track_child_for_2_epochs() { // Track parent shard before resharding, and a child shard after resharding. // Then do not track the child for 2 epochs and start tracking it again. @@ -747,8 +749,6 @@ fn test_resharding_v3_double_sign_resharding_block() { } #[test] -// TODO(resharding): fix nearcore and un-ignore this test -#[ignore] fn test_resharding_v3_shard_shuffling() { let params = TestReshardingParametersBuilder::default() .shuffle_shard_assignment_for_chunk_producers(true) @@ -789,8 +789,6 @@ fn test_resharding_v3_shard_shuffling_untrack_then_track() { } #[test] -// TODO(resharding): fix nearcore and un-ignore this test -#[ignore] fn test_resharding_v3_shard_shuffling_intense() { let chunk_ranges_to_drop = HashMap::from([(0, -1..2), (1, -3..0), (2, -3..3), (3, 0..1)]); let params = TestReshardingParametersBuilder::default() @@ -1019,9 +1017,7 @@ fn test_resharding_v3_slower_post_processing_tasks() { } #[test] -// TODO(resharding): fix nearcore and un-ignore this test, then uncomment the conditional ignore below -#[ignore] -//#[cfg_attr(not(feature = "test_features"), ignore)] +#[cfg_attr(not(feature = "test_features"), ignore)] fn test_resharding_v3_shard_shuffling_slower_post_processing_tasks() { let params = TestReshardingParametersBuilder::default() .shuffle_shard_assignment_for_chunk_producers(true)