functionality in place for start kill terminate

This commit is contained in:
William Banfield
2022-11-29 13:46:28 -05:00
parent bd31f70571
commit 91fa4f3296

View File

@@ -35,13 +35,13 @@ func (p *Provider) Setup() error {
return nil
}
func (p Provider) StartTendermint(ctx context.Context, n *e2e.Node) error {
panic("unimplemented")
return ExecCompose(p.Testnet.Dir, "start", n.Name)
}
func (p Provider) TerminateTendermint(ctx context.Context, n *e2e.Node) error {
panic("unimplemented")
return ExecCompose(p.Testnet.Dir, "kill", "-s", "SIGTERM", n.Name)
}
func (p Provider) KillTendermint(ctx context.Context, n *e2e.Node) error {
panic("unimplemented")
return ExecCompose(p.Testnet.Dir, "kill", "-s", "SIGKILL", n.Name)
}
// dockerComposeBytes generates a Docker Compose config file for a testnet and returns the