mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
fix tests regarding the new test image
This commit is contained in:
parent
9232d1ef62
commit
a8a6848ce0
1 changed files with 4 additions and 4 deletions
|
@ -482,12 +482,12 @@ func TestGetContainersTop(t *testing.T) {
|
|||
t.Fatalf("Expected 2 processes, found %d.", len(procs))
|
||||
}
|
||||
|
||||
if procs[0].Cmd != "sh" && procs[0].Cmd != "exe" {
|
||||
t.Fatalf("Expected `sleep` or `sh`, found %s.", procs[0].Cmd)
|
||||
if procs[0].Cmd != "sh" && procs[0].Cmd != "busybox" {
|
||||
t.Fatalf("Expected `busybox` or `sh`, found %s.", procs[0].Cmd)
|
||||
}
|
||||
|
||||
if procs[1].Cmd != "sh" && procs[1].Cmd != "exe" {
|
||||
t.Fatalf("Expected `sleep` or `sh`, found %s.", procs[1].Cmd)
|
||||
if procs[1].Cmd != "sh" && procs[1].Cmd != "busybox" {
|
||||
t.Fatalf("Expected `busybox` or `sh`, found %s.", procs[1].Cmd)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue