itest: add itest for failover after forcefull shutdown

This commit is contained in:
Andras Banki-Horvath committed 2021-05-04 17:33:12 +02:00
1 parent 5d8488871c
commit 7caf26ce94
3 files changed
+61 -3

No files matched your search

+5
View File
@@ -788,6 +788,11 @@ func (n *NetworkHarness) ShutdownNode(node *HarnessNode) error {
return nil
}
// KillNode kills the node (but won't wait for the node process to stop).
func (n *NetworkHarness) KillNode(node *HarnessNode) error {
return node.kill()
}
// StopNode stops the target node, but doesn't yet clean up its directories.
// This can be used to temporarily bring a node down during a test, to be later
// started up again.