Merge pull request #29929 from aaronlehmann/secret-test-fix
Fix TestSecretCreateWithLabels nondeterminism
This commit is contained in:
commit
bf8cdb9172
|
@ -55,7 +55,7 @@ func (s *DockerSwarmSuite) TestSecretCreateWithLabels(c *check.C) {
|
||||||
func (s *DockerSwarmSuite) TestSecretCreateResolve(c *check.C) {
|
func (s *DockerSwarmSuite) TestSecretCreateResolve(c *check.C) {
|
||||||
d := s.AddDaemon(c, true, true)
|
d := s.AddDaemon(c, true, true)
|
||||||
|
|
||||||
name := "foo"
|
name := "test_secret"
|
||||||
id := d.CreateSecret(c, swarm.SecretSpec{
|
id := d.CreateSecret(c, swarm.SecretSpec{
|
||||||
swarm.Annotations{
|
swarm.Annotations{
|
||||||
Name: name,
|
Name: name,
|
||||||
|
|
Loading…
Reference in New Issue