mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Update TestSwarmNetworkPlugin test.
Signed-off-by: Anusha Ragunathan <anusha.ragunathan@docker.com>
This commit is contained in:
parent
660a186e92
commit
3048e50434
1 changed files with 2 additions and 1 deletions
|
@ -677,8 +677,9 @@ func (s *DockerSwarmSuite) TestSwarmNetworkPlugin(c *check.C) {
|
|||
|
||||
d := s.AddDaemon(c, true, true)
|
||||
|
||||
_, err := d.Cmd("network", "create", "-d", globalNetworkPlugin, "foo")
|
||||
out, err := d.Cmd("network", "create", "-d", globalNetworkPlugin, "foo")
|
||||
c.Assert(err, checker.NotNil)
|
||||
c.Assert(out, checker.Contains, "not supported in swarm mode")
|
||||
}
|
||||
|
||||
// Test case for #24712
|
||||
|
|
Loading…
Add table
Reference in a new issue