mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
rebase
This commit is contained in:
commit
4249867e5b
1 changed files with 5 additions and 0 deletions
|
@ -211,6 +211,11 @@ func TestContainerTop(t *testing.T) {
|
|||
defer nuke(runtime)
|
||||
|
||||
c, hostConfig, _ := mkContainer(runtime, []string{"_", "/bin/sh", "-c", "sleep 2"}, t)
|
||||
c, hostConfig, err := mkContainer(runtime, []string{"_", "/bin/sh", "-c", "sleep 2"}, t)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
defer runtime.Destroy(c)
|
||||
if err := c.Start(hostConfig); err != nil {
|
||||
t.Fatal(err)
|
||||
|
|
Loading…
Add table
Reference in a new issue