Fix: The new addon can not shown in the Addons page (#3851)

Signed-off-by: StevenLeiZhang <zhangleiic@163.com>
This commit is contained in:
StevenLeiZhang
2022-05-10 23:10:04 +08:00
committed by GitHub
parent 30a6e85023
commit 8499dffcd7
3 changed files with 135 additions and 37 deletions
+2
View File
@@ -79,6 +79,8 @@ var _ = AfterSuite(func() {
for _, app := range apps.Items {
g.Expect(k8sClient.Delete(context.Background(), app.DeepCopy())).Should(Succeed())
}
err := k8sClient.List(context.Background(), apps)
g.Expect(err, nil)
g.Expect(len(apps.Items)).Should(Equal(0))
}, 3*time.Minute).Should(Succeed())
Eventually(func(g Gomega) {