Added shutdown method to container.
This commit is contained in:
parent
c6c9ed7fd2
commit
85981e75a7
5 changed files with 35 additions and 11 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue