Skip to content

Commit

Permalink
Merge branch 'main' into f/long-test-e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
maxtropets authored Jan 10, 2025
2 parents b59f615 + c115b6d commit 0538857
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,5 +146,5 @@ jobs:
# Unit tests
./tests.sh --output-on-failure -L unit -j$(nproc --all)
# All other acceptably fast tests, which are now supported on Mariner.
./tests.sh --timeout 360 --output-on-failure -LE "benchmark|protocolstest|suite|unit|lts_compatibility|raft_scenario"
./tests.sh --timeout 360 --output-on-failure -LE "benchmark|protocolstest|suite|unit|lts_compatibility"
shell: bash
9 changes: 6 additions & 3 deletions tests/raft_scenarios/reconfig_01_23
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,14 @@ assert_commit_idx,0,8
assert_detail,0,leadership_state,None
assert_detail,0,retirement_phase,RetiredCommitted

# 2 becomes leader
assert_detail,2,leadership_state,Leader
# One of the continuing nodes has become leader
emit_signature,3
periodic_all,10
dispatch_all
periodic_all,10
dispatch_all
assert_commit_idx,2,9
assert_commit_idx,3,9

# 0 becomes a follower again, because it receives messages
# from 2 before 2 realises 0 is retired committed.
Expand All @@ -65,5 +66,7 @@ replicate,3,some_tx
emit_signature,3
periodic_all,10
dispatch_all
periodic_all,10
dispatch_all
assert_commit_idx,2,11
assert_commit_idx,2,11
assert_commit_idx,3,11
4 changes: 3 additions & 1 deletion tests/raft_scenarios/reconfig_01_el0_23
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,7 @@ replicate,5,some_tx
emit_signature,5
periodic_all,10
dispatch_all
periodic_all,10
dispatch_all
assert_commit_idx,2,13
assert_commit_idx,2,13
assert_commit_idx,3,13

0 comments on commit 0538857

Please sign in to comment.