@@ -1774,24 +1774,15 @@ var _ = Describe("Resources", func() {
17741774 Expect (ns .Spec .Properties ["team" ]).Should (Equal ("qa" ))
17751775 })
17761776
1777- It ("should reconcile when backlog quota retention policy is unset" , func () {
1777+ It ("should fail when backlog quota retention policy is unset" , func () {
17781778 ns := & v1alphav1.PulsarNamespace {}
17791779 tns := types.NamespacedName {Namespace : namespaceName , Name : storagePoliciesNamespaceName }
17801780 Expect (k8sClient .Get (ctx , tns , ns )).Should (Succeed ())
17811781
17821782 ns .Spec .BacklogQuotaRetentionPolicy = nil
17831783
17841784 err := k8sClient .Update (ctx , ns )
1785- Expect (err ).Should (Succeed ())
1786- })
1787-
1788- It ("should be ready after removing backlog quota retention policy" , func () {
1789- Eventually (func () bool {
1790- ns := & v1alphav1.PulsarNamespace {}
1791- tns := types.NamespacedName {Namespace : namespaceName , Name : storagePoliciesNamespaceName }
1792- Expect (k8sClient .Get (ctx , tns , ns )).Should (Succeed ())
1793- return v1alphav1 .IsPulsarResourceReady (ns )
1794- }, "30s" , "100ms" ).Should (BeTrue ())
1785+ Expect (err ).ShouldNot (Succeed ())
17951786 })
17961787
17971788 It ("should allow clearing inactive topic policies and properties" , func () {
0 commit comments