@ -469,8 +469,8 @@ func TestInstallRelease_Atomic(t *testing.T) {
failer . WaitError = fmt . Errorf ( "I timed out" )
instAction . cfg . KubeClient = failer
instAction . Atomic = true
// disabling hooks to avoid an early fail when the
// the WaitForDelete is called on the pre-delete hook execution
// disabling hooks to avoid an early fail when
// WaitForDelete is called on the pre-delete hook execution
instAction . DisableHooks = true
vals := map [ string ] interface { } { }
@ -479,7 +479,7 @@ func TestInstallRelease_Atomic(t *testing.T) {
is . Contains ( err . Error ( ) , "I timed out" )
is . Contains ( err . Error ( ) , "atomic" )
// Now make sure it isn't in storage any more
// Now make sure it isn't in storage any more
_ , err = instAction . cfg . Releases . Get ( res . Name , res . Version )
is . Error ( err )
is . Equal ( err , driver . ErrReleaseNotFound )
@ -522,7 +522,7 @@ func TestInstallRelease_Atomic_Interrupted(t *testing.T) {
is . Contains ( err . Error ( ) , "atomic" )
is . Contains ( err . Error ( ) , "uninstalled" )
// Now make sure it isn't in storage any more
// Now make sure it isn't in storage any more
_ , err = instAction . cfg . Releases . Get ( res . Name , res . Version )
is . Error ( err )
is . Equal ( err , driver . ErrReleaseNotFound )
@ -796,5 +796,5 @@ func TestInstallWithSystemLabels(t *testing.T) {
t . Fatal ( "expected an error" )
}
is . Equal ( fmt . Errorf ( "user sup lied labels contains system reserved label name. System labels: %+v", driver . GetSystemLabels ( ) ) , err )
is . Equal ( fmt . Errorf ( "user sup p lied labels contains system reserved label name. System labels: %+v", driver . GetSystemLabels ( ) ) , err )
}