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

* test/e2e: enable v1 and v2 blockchains

* modify networks/ci.toml
This commit is contained in:
Anton Kaliaev
2020-11-23 17:32:22 +04:00
committed by GitHub
parent 3ad1157451
commit 170cb70e19
2 changed files with 6 additions and 15 deletions

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}

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"]