Browse Source

e2e: increase retain height to at least twice evidence age (#6924)

pull/6930/head
Callum Waters 3 years ago
committed by GitHub
parent
commit
f1b9613301
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      test/e2e/generator/generate.go
  2. +2
    -2
      test/e2e/networks/ci.toml

+ 1
- 1
test/e2e/generator/generate.go View File

@ -51,7 +51,7 @@ var (
nodeStateSyncs = uniformChoice{e2e.StateSyncDisabled, e2e.StateSyncP2P, e2e.StateSyncRPC}
nodePersistIntervals = uniformChoice{0, 1, 5}
nodeSnapshotIntervals = uniformChoice{0, 3}
nodeRetainBlocks = uniformChoice{0, int(e2e.EvidenceAgeHeight), int(e2e.EvidenceAgeHeight) + 5}
nodeRetainBlocks = uniformChoice{0, 2 * int(e2e.EvidenceAgeHeight), 4 * int(e2e.EvidenceAgeHeight)}
nodePerturbations = probSetChoice{
"disconnect": 0.1,
"pause": 0.1,


+ 2
- 2
test/e2e/networks/ci.toml View File

@ -53,7 +53,7 @@ persist_interval = 3
perturb = ["kill"]
privval_protocol = "grpc"
block_sync = "v0"
retain_blocks = 7
retain_blocks = 10
[node.validator04]
abci_protocol = "builtin"
@ -79,7 +79,7 @@ start_at = 1010
block_sync = "v0"
persistent_peers = ["validator01", "validator02", "validator03", "validator04"]
perturb = ["restart"]
retain_blocks = 7
retain_blocks = 10
state_sync = "rpc"
[node.light01]


Loading…
Cancel
Save