Browse code

[multi-arch] skip more plugin tests on non-x86

Until the plugins are multi-arch plugins, or built on runtime,
skip these tests like we do with the remainder of the plugin tests.

Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com>

Christopher Jones authored on 2017/03/01 06:50:39
Showing 2 changed files
... ...
@@ -287,7 +287,7 @@ func existsMountpointWithPrefix(mountpointPrefix string) (bool, error) {
287 287
 }
288 288
 
289 289
 func (s *DockerDaemonSuite) TestPluginListFilterEnabled(c *check.C) {
290
-	testRequires(c, Network)
290
+	testRequires(c, IsAmd64, Network)
291 291
 
292 292
 	s.d.Start(c)
293 293
 
... ...
@@ -315,7 +315,7 @@ func (s *DockerDaemonSuite) TestPluginListFilterEnabled(c *check.C) {
315 315
 }
316 316
 
317 317
 func (s *DockerDaemonSuite) TestPluginListFilterCapability(c *check.C) {
318
-	testRequires(c, Network)
318
+	testRequires(c, IsAmd64, Network)
319 319
 
320 320
 	s.d.Start(c)
321 321
 
... ...
@@ -350,7 +350,7 @@ func (s *DockerTrustSuite) TestPluginUntrustedInstall(c *check.C) {
350 350
 }
351 351
 
352 352
 func (s *DockerSuite) TestPluginIDPrefix(c *check.C) {
353
-	testRequires(c, DaemonIsLinux, Network)
353
+	testRequires(c, DaemonIsLinux, IsAmd64, Network)
354 354
 	_, _, err := dockerCmdWithError("plugin", "install", "--disable", "--grant-all-permissions", pNameWithTag)
355 355
 	c.Assert(err, checker.IsNil)
356 356