1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #21804 from mlaventure/arm-fix

Skip migration unit test on non amd64 platform
This commit is contained in:
Alexander Morozov 2016-04-06 11:01:23 -07:00
commit 27f50c40e6

View file

@ -67,6 +67,9 @@ func TestMigrateContainers(t *testing.T) {
if runtime.GOOS == "windows" {
t.Skip("Failing on Windows")
}
if runtime.GOARCH != "amd64" {
t.Skip("Test tailored to amd64 architecture")
}
tmpdir, err := ioutil.TempDir("", "migrate-containers")
if err != nil {
t.Fatal(err)
@ -142,6 +145,9 @@ func TestMigrateImages(t *testing.T) {
if runtime.GOOS == "windows" {
t.Skip("Failing on Windows")
}
if runtime.GOARCH != "amd64" {
t.Skip("Test tailored to amd64 architecture")
}
tmpdir, err := ioutil.TempDir("", "migrate-images")
if err != nil {
t.Fatal(err)