mirror of
https://github.com/helm/helm.git
synced 2026-05-28 04:35:48 -04:00
fixed dependency_update_test.go
Signed-off-by: Suleiman Dibirov <idsulik@gmail.com>
This commit is contained in:
parent
adeb4ca3d9
commit
4d25dd3d8e
1 changed files with 3 additions and 2 deletions
|
|
@ -200,8 +200,9 @@ func TestDependencyUpdateCmd_DoNotDeleteOldChartsOnError(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
// Make sure tmpcharts is deleted
|
||||
if _, err := os.Stat(filepath.Join(dir(chartname), "tmpcharts")); !os.IsNotExist(err) {
|
||||
// Make sure tmpcharts-x is deleted
|
||||
tmpPath := filepath.Join(dir(chartname), fmt.Sprintf("tmpcharts-%d", os.Getpid()))
|
||||
if _, err := os.Stat(tmpPath); !os.IsNotExist(err) {
|
||||
t.Fatalf("tmpcharts dir still exists")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue