check helm release is ready or not

Signed-off-by: LiHui <andrewli@yunify.com>
This commit is contained in:
LiHui
2021-04-02 18:04:44 +08:00
parent 066dfe7066
commit fc165f97d8
11 changed files with 287 additions and 136 deletions

View File

@@ -29,12 +29,10 @@ func TestHelmInstall(t *testing.T) {
SetAnnotations(map[string]string{constants.CreatorAnnotationKey: "1234"}),
SetMock(true))
res, err := wr.install("dummy-chart", "", "dummy-value", false)
err := wr.install("dummy-chart", "", "dummy-value", false)
if err != nil {
t.Fail()
}
_ = res
}
func TestHelperProcess(t *testing.T) {