Added shutdown method to container.

This commit is contained in:
mikestefanello 2021-12-19 13:22:44 -05:00
parent c6c9ed7fd2
commit 85981e75a7
5 changed files with 35 additions and 11 deletions

View file

@ -48,5 +48,8 @@ func TestMain(m *testing.M) {
// Run tests
exitVal := m.Run()
if err := c.Shutdown(); err != nil {
panic(err)
}
os.Exit(exitVal)
}