-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request juju#17000 from Aflynn50/3.3-3.4
juju#17000 There were minor conflicts with version numbers in various places and the upgrade steps juju#16969 had to be updated to target upgrades through 3.4.1. The upgrade steps present for 3.3.1 that had made there way in here by accident were removed on the advice of @wallyworld. The PRs included in this merge up are: - juju#16999 from Aflynn50 - juju#16997 from wallyworld - juju#16969 from jack-w-shaw - juju#16988 from tlm - juju#16983 from Aflynn50 - juju#16973 from Aflynn50 - juju#16980 from juju - juju#16976 from Aflynn50 - juju#16974 from wallyworld - juju#16972 from jack-w-shaw - juju#16970 from tlm - juju#16959 from juju - juju#16957 from jameinel - juju#16932 from hpidcock - juju#16945 from benhoyt - juju#16943 from wallyworld
- Loading branch information
Showing
50 changed files
with
711 additions
and
349 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -360,12 +360,8 @@ func (s *configCommandSuite) TestSetSameValue(c *gc.C) { | |
"username": "hello", | ||
"outlook": "[email protected]", | ||
}) | ||
s.assertSetWarning(c, s.dir, []string{ | ||
"username=hello", | ||
}, "the configuration setting \"username\" already has the value \"hello\"") | ||
s.assertSetWarning(c, s.dir, []string{ | ||
"[email protected]", | ||
}, "the configuration setting \"outlook\" already has the value \"[email protected]\"") | ||
s.assertNoWarning(c, s.dir, []string{"username=hello"}) | ||
s.assertNoWarning(c, s.dir, []string{"[email protected]"}) | ||
|
||
} | ||
|
||
|
@@ -546,12 +542,12 @@ func (s *configCommandSuite) assertSetFail(c *gc.C, dir string, args []string, e | |
c.Assert(err, gc.ErrorMatches, expectErr) | ||
} | ||
|
||
func (s *configCommandSuite) assertSetWarning(c *gc.C, dir string, args []string, w string) { | ||
func (s *configCommandSuite) assertNoWarning(c *gc.C, dir string, args []string) { | ||
cmd := application.NewConfigCommandForTest(s.fake, s.store) | ||
cmd.SetClientStore(jujuclienttesting.MinimalStore()) | ||
_, err := cmdtesting.RunCommandInDir(c, cmd, append([]string{"dummy-application"}, args...), dir) | ||
c.Assert(err, jc.ErrorIsNil) | ||
c.Assert(strings.Replace(c.GetTestLog(), "\n", " ", -1), gc.Matches, ".*WARNING.*"+w+".*") | ||
c.Assert(strings.Replace(c.GetTestLog(), "\n", " ", -1), gc.Not(gc.Matches), ".*WARNING.*") | ||
} | ||
|
||
// setupValueFile creates a file containing one value for testing | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.