Explorar o código

[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 %!s(int64=8) %!d(string=hai) anos
pai
achega
362d082b6e

+ 2 - 2
integration-cli/docker_cli_daemon_plugins_test.go

@@ -287,7 +287,7 @@ func existsMountpointWithPrefix(mountpointPrefix string) (bool, error) {
 }
 
 func (s *DockerDaemonSuite) TestPluginListFilterEnabled(c *check.C) {
-	testRequires(c, Network)
+	testRequires(c, IsAmd64, Network)
 
 	s.d.Start(c)
 
@@ -315,7 +315,7 @@ func (s *DockerDaemonSuite) TestPluginListFilterEnabled(c *check.C) {
 }
 
 func (s *DockerDaemonSuite) TestPluginListFilterCapability(c *check.C) {
-	testRequires(c, Network)
+	testRequires(c, IsAmd64, Network)
 
 	s.d.Start(c)
 

+ 1 - 1
integration-cli/docker_cli_plugins_test.go

@@ -350,7 +350,7 @@ func (s *DockerTrustSuite) TestPluginUntrustedInstall(c *check.C) {
 }
 
 func (s *DockerSuite) TestPluginIDPrefix(c *check.C) {
-	testRequires(c, DaemonIsLinux, Network)
+	testRequires(c, DaemonIsLinux, IsAmd64, Network)
 	_, _, err := dockerCmdWithError("plugin", "install", "--disable", "--grant-all-permissions", pNameWithTag)
 	c.Assert(err, checker.IsNil)