Skip to content

Commit

Permalink
Merge pull request #2685 from StefanPalashev/disable-unstable-checkpo…
Browse files Browse the repository at this point in the history
…int-tests

Disable unstable checkpoint tests
  • Loading branch information
StefanPalashev authored Jun 17, 2022
2 parents 80c5ca5 + 1a07663 commit 60e1b8a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/apollo/test_skvbc_checkpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,19 +397,22 @@ async def test_checkpoint_propagation_after_f_nodes_including_primary_isolated(s
isolated_replicas,
expected_checkpoint_num=lambda ecn: ecn == checkpoint_before + 1)

@unittest.skip("Unstable test")
@with_trio
@with_bft_network(start_replica_cmd_with_corrupted_checkpoint_msgs(corrupt_checkpoints_from_replica_ids={ 1 }),
selected_configs=lambda n, f, c: n == 7)

async def test_rvt_conflict_detection_after_corrupting_checkpoint_msg_for_single_replica(self, bft_network):
await self._test_checkpointing_with_corruptions(bft_network, { 1 })

@unittest.skip("Unstable test")
@with_trio
@with_bft_network(start_replica_cmd_with_corrupted_checkpoint_msgs(corrupt_checkpoints_from_replica_ids={ 1, 2 }),
selected_configs=lambda n, f, c: n == 7 and f == 2)
async def test_rvt_conflict_detection_after_corrupting_checkpoint_msg_for_2_replicas(self, bft_network):
await self._test_checkpointing_with_corruptions(bft_network, { 1, 2 })

@unittest.skip("Unstable test")
@with_trio
@with_bft_network(start_replica_cmd_with_corrupted_checkpoint_msgs(corrupt_checkpoints_from_replica_ids={ 1, 2, 3 }),
selected_configs=lambda n, f, c: n == 7 and f == 2)
Expand Down Expand Up @@ -456,6 +459,7 @@ async def test_rvt_conflict_detection_after_corrupting_checkpoint_msg_for_f_plus
assert number_of_checkpoint_mismatch == n, \
f"Replica {replica_id} number_of_checkpoint_mismatch={number_of_checkpoint_mismatch} != {n}"

@unittest.skip("Unstable test")
@with_trio
@with_bft_network(start_replica_cmd_with_corrupted_checkpoint_msgs(corrupt_checkpoints_from_replica_ids={ 0 }))
async def test_checkpoint_propagation_after_corrupting_checkpoint_msg_for_primary(self, bft_network):
Expand Down

0 comments on commit 60e1b8a

Please sign in to comment.