From 8c5fe166a62b85f9d10993613abfd30c762ecd62 Mon Sep 17 00:00:00 2001 From: Erik Grinaker Date: Tue, 20 Oct 2020 21:30:07 +0200 Subject: [PATCH] test: enable restart/kill perturbations in E2E tests (#5537) When #5536 lands we can re-enable restart/kill perturbations in E2E tests. --- test/e2e/generator/generate.go | 5 ++--- test/e2e/networks/ci.toml | 20 +++++--------------- 2 files changed, 7 insertions(+), 18 deletions(-) diff --git a/test/e2e/generator/generate.go b/test/e2e/generator/generate.go index e21d5d2fd..851dfeb60 100644 --- a/test/e2e/generator/generate.go +++ b/test/e2e/generator/generate.go @@ -36,9 +36,8 @@ var ( nodePerturbations = probSetChoice{ "disconnect": 0.1, "pause": 0.1, - // FIXME disabled due to https://github.com/tendermint/tendermint/issues/5422 - // "kill": 0.1, - // "restart": 0.1, + "kill": 0.1, + "restart": 0.1, } ) diff --git a/test/e2e/networks/ci.toml b/test/e2e/networks/ci.toml index 522fb5266..9db2ca969 100644 --- a/test/e2e/networks/ci.toml +++ b/test/e2e/networks/ci.toml @@ -43,9 +43,7 @@ database = "boltdb" abci_protocol = "tcp" privval_protocol = "tcp" persist_interval = 0 -# FIXME The WAL gets corrupted when restarted -# https://github.com/tendermint/tendermint/issues/5422 -#perturb = ["restart"] +perturb = ["restart"] [node.validator03] seeds = ["seed01"] @@ -54,9 +52,7 @@ abci_protocol = "grpc" privval_protocol = "unix" persist_interval = 3 retain_blocks = 3 -# FIXME The WAL gets corrupted when killed -# https://github.com/tendermint/tendermint/issues/5422 -#perturb = ["kill"] +perturb = ["kill"] [node.validator04] persistent_peers = ["validator01"] @@ -72,9 +68,7 @@ database = "cleveldb" fast_sync = "v0" abci_protocol = "grpc" privval_protocol = "tcp" -# FIXME The WAL gets corrupted when killed -# https://github.com/tendermint/tendermint/issues/5422 -#perturb = ["kill", "pause", "disconnect", "restart"] +perturb = ["kill", "pause", "disconnect", "restart"] [node.full01] start_at = 1010 @@ -83,9 +77,7 @@ mode = "full" # https://github.com/tendermint/tendermint/issues/5444 fast_sync = "v2" persistent_peers = ["validator01", "validator02", "validator03", "validator04", "validator05"] -# FIXME The WAL gets corrupted when restarted -# https://github.com/tendermint/tendermint/issues/5422 -#perturb = ["restart"] +perturb = ["restart"] [node.full02] start_at = 1015 @@ -93,6 +85,4 @@ mode = "full" fast_sync = "v2" state_sync = true seeds = ["seed01"] -# FIXME The WAL gets corrupted when restarted -# https://github.com/tendermint/tendermint/issues/5422 -#perturb = ["restart"] +perturb = ["restart"]