Browse Source

test/e2e: enable v1 and v2 blockchains (#5702)

* test/e2e: enable v1 and v2 blockchains

* modify networks/ci.toml
pull/5708/head
Anton Kaliaev 4 years ago
committed by GitHub
parent
commit
170cb70e19
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 15 deletions
  1. +4
    -8
      test/e2e/generator/generate.go
  2. +2
    -7
      test/e2e/networks/ci.toml

+ 4
- 8
test/e2e/generator/generate.go View File

@ -27,14 +27,10 @@ var (
}
// The following specify randomly chosen values for testnet nodes.
nodeDatabases = uniformChoice{"goleveldb", "cleveldb", "rocksdb", "boltdb", "badgerdb"}
nodeABCIProtocols = uniformChoice{"unix", "tcp", "grpc", "builtin"}
nodePrivvalProtocols = uniformChoice{"file", "unix", "tcp"}
// FIXME v1 disabled due to https://github.com/tendermint/tendermint/issues/5444
// FIXME v2 disabled due to:
// https://github.com/tendermint/tendermint/issues/5513
// https://github.com/tendermint/tendermint/issues/5541
nodeFastSyncs = uniformChoice{"", "v0"} // "v1", "v2"
nodeDatabases = uniformChoice{"goleveldb", "cleveldb", "rocksdb", "boltdb", "badgerdb"}
nodeABCIProtocols = uniformChoice{"unix", "tcp", "grpc", "builtin"}
nodePrivvalProtocols = uniformChoice{"file", "unix", "tcp"}
nodeFastSyncs = uniformChoice{"", "v0", "v1", "v2"}
nodeStateSyncs = uniformChoice{false, true}
nodePersistIntervals = uniformChoice{0, 1, 5}
nodeSnapshotIntervals = uniformChoice{0, 3}


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

@ -73,9 +73,7 @@ perturb = ["kill", "pause", "disconnect", "restart"]
[node.full01]
start_at = 1010
mode = "full"
# FIXME Should use v1, but it won't catch up since some nodes don't have all blocks
# https://github.com/tendermint/tendermint/issues/5444
fast_sync = "v0"
fast_sync = "v1"
persistent_peers = ["validator01", "validator02", "validator03", "validator04", "validator05"]
retain_blocks = 1
perturb = ["restart"]
@ -83,10 +81,7 @@ perturb = ["restart"]
[node.full02]
start_at = 1015
mode = "full"
# FIXME Should use v2, but it has concurrency bugs causing panics or halts
# https://github.com/tendermint/tendermint/issues/5513
# https://github.com/tendermint/tendermint/issues/5541
fast_sync = "v0"
fast_sync = "v2"
state_sync = true
seeds = ["seed01"]
perturb = ["restart"]

Loading…
Cancel
Save