Skip migration unit test on non amd64 platform
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com> Upstream-commit: cf73ebf280c6a1ac8106bb8374f990fe08f221d8 Component: engine
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user