diff --git a/test/e2e/runner/perturb.go b/test/e2e/runner/perturb.go index 6909c665a..8fb6ec726 100644 --- a/test/e2e/runner/perturb.go +++ b/test/e2e/runner/perturb.go @@ -59,7 +59,11 @@ func PerturbNode(node *e2e.Node, perturbation e2e.Perturbation) (*rpctypes.Resul case e2e.PerturbationRestart: logger.Info(fmt.Sprintf("Restarting node %v...", node.Name)) - if err := execCompose(testnet.Dir, "restart", node.Name); err != nil { + if err := execCompose(testnet.Dir, "kill", "-s", "SIGTERM", node.Name); err != nil { + return nil, err + } + time.Sleep(10 * time.Second) + if err := execCompose(testnet.Dir, "start", node.Name); err != nil { return nil, err }