Fix multiple attach test.

Docker-DCO-1.1-Signed-off-by: Erik Hollensbe <github@hollensbe.org> (github: erikh)
Merge pull request #7294 from erikh/fix_multiple_attach_test

Fix multiple attach test.