Skip to content

Commit 7ac5187

Browse files
kvapsclaude
andcommitted
test(e2e): disable auto-tiebreaker in two-volume-rd + two-primaries
These tests only validate the 2-replica path; the witness on N3 slows initial sync without adding test signal and (when 3-replica sync runs slower than 180s on the busy stand) flips the test from PASS to a timing-bound FAIL. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
1 parent f822665 commit 7ac5187

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

tests/e2e/two-primaries-live-migration.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ metadata: {name: ${RD}}
4141
spec:
4242
props:
4343
DrbdOptions/Net/allow-two-primaries: "yes"
44+
# 2-replica RD is what live-migration needs; the witness on N3
45+
# would slow initial sync without adding test signal.
46+
DrbdOptions/AutoAddQuorumTiebreaker: "false"
4447
volumeDefinitions:
4548
- {volumeNumber: 0, sizeKib: 65536}
4649
EOF

tests/e2e/two-volume-rd.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,16 @@ N2=test-worker-2
2525
trap 'delete_rd "$RD"' EXIT
2626

2727
echo ">> apply 2-volume RD"
28+
# Disable auto-tiebreaker — this test only validates per-volume
29+
# replication on the explicit 2-replica pair, the 3rd-node witness
30+
# would just slow initial sync and add no value here.
2831
cat <<EOF | kubectl apply -f -
2932
apiVersion: blockstor.io.blockstor.io/v1alpha1
3033
kind: ResourceDefinition
3134
metadata: {name: ${RD}}
3235
spec:
36+
props:
37+
DrbdOptions/AutoAddQuorumTiebreaker: "false"
3338
volumeDefinitions:
3439
- {volumeNumber: 0, sizeKib: 65536}
3540
- {volumeNumber: 1, sizeKib: 32768}

0 commit comments

Comments
 (0)