Browse code

Skip migration unit test on non amd64 platform

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>

Kenfe-Mickael Laventure authored on 2016/04/07 01:55:52
Showing 1 changed files
... ...
@@ -67,6 +67,9 @@ func TestMigrateContainers(t *testing.T) {
67 67
 	if runtime.GOOS == "windows" {
68 68
 		t.Skip("Failing on Windows")
69 69
 	}
70
+	if runtime.GOARCH != "amd64" {
71
+		t.Skip("Test tailored to amd64 architecture")
72
+	}
70 73
 	tmpdir, err := ioutil.TempDir("", "migrate-containers")
71 74
 	if err != nil {
72 75
 		t.Fatal(err)
... ...
@@ -142,6 +145,9 @@ func TestMigrateImages(t *testing.T) {
142 142
 	if runtime.GOOS == "windows" {
143 143
 		t.Skip("Failing on Windows")
144 144
 	}
145
+	if runtime.GOARCH != "amd64" {
146
+		t.Skip("Test tailored to amd64 architecture")
147
+	}
145 148
 	tmpdir, err := ioutil.TempDir("", "migrate-images")
146 149
 	if err != nil {
147 150
 		t.Fatal(err)