mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #9606 from LK4D4/fix_race_in_test
Fix race in TestDaemonRestartWithVolumesRefs
This commit is contained in:
commit
c60e60a184
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ func TestDaemonRestartWithVolumesRefs(t *testing.T) {
|
|||
if err := d.Restart(); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if _, err := d.Cmd("run", "-d", "--volumes-from", "volrestarttest1", "--name", "volrestarttest2", "busybox"); err != nil {
|
||||
if _, err := d.Cmd("run", "-d", "--volumes-from", "volrestarttest1", "--name", "volrestarttest2", "busybox", "top"); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if out, err := d.Cmd("rm", "-fv", "volrestarttest2"); err != nil {
|
||||
|
|
Loading…
Add table
Reference in a new issue