Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
4398255f
Commit
4398255f
authored
Dec 21, 2016
by
Adam Reese
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(tests): fix broken tests for upgrade
parent
b28b58ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
upgrade_test.go
cmd/helm/upgrade_test.go
+2
-2
No files found.
cmd/helm/upgrade_test.go
View file @
4398255f
...
...
@@ -91,7 +91,7 @@ func TestUpgradeCmd(t *testing.T) {
args
:
[]
string
{
"funny-bunny"
,
chartPath
},
flags
:
[]
string
{
"--timeout"
,
"120"
},
resp
:
releaseMock
(
&
releaseOptions
{
name
:
"funny-bunny"
,
version
:
3
,
chart
:
ch2
}),
expected
:
"
funny-bunny
has been upgraded. Happy Helming!
\n
"
,
expected
:
"
Release
\"
funny-bunny
\"
has been upgraded. Happy Helming!
\n
"
,
},
{
name
:
"install a release with 'upgrade --install'"
,
...
...
@@ -105,7 +105,7 @@ func TestUpgradeCmd(t *testing.T) {
args
:
[]
string
{
"crazy-bunny"
,
chartPath
},
flags
:
[]
string
{
"-i"
,
"--timeout"
,
"120"
},
resp
:
releaseMock
(
&
releaseOptions
{
name
:
"crazy-bunny"
,
version
:
1
,
chart
:
ch
}),
expected
:
"
crazy-bunny
has been upgraded. Happy Helming!
\n
"
,
expected
:
"
Release
\"
crazy-bunny
\"
has been upgraded. Happy Helming!
\n
"
,
},
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment