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:
commit
27f50c40e6
1 changed files with 6 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue