Update multi-arch image tests

Ensure the test pull for all platforms uses a multi-arch image
Use the pause container for testing specific platforms
Update the image unpack test to be explicit about the platform to unpack

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
This commit is contained in:
Derek McGowan
2018-08-01 11:17:40 -07:00
parent efb04a3361
commit 438b3cb694
2 changed files with 3 additions and 3 deletions

View File

@@ -45,7 +45,7 @@ func TestImageIsUnpacked(t *testing.T) {
}
// By default pull does not unpack an image
image, err := client.Pull(ctx, imageName)
image, err := client.Pull(ctx, imageName, WithPlatform("linux/amd64"))
if err != nil {
t.Fatal(err)
}