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

Signed-off-by: StevenLeiZhang <zhangleiic@163.com>
This commit is contained in:
StevenLeiZhang
2022-05-10 10:02:13 +08:00
committed by GitHub
parent 7bfcd6acc5
commit 938fde9bba
4 changed files with 110 additions and 41 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) {