functionality in place for start kill terminate

This commit is contained in:
William Banfield
2022-12-01 11:17:03 -05:00
parent 6389d3d3f3
commit 6415af6b92
+3 -3
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