This commit is contained in:
Rafia Sabih
2020-11-16 10:35:01 +01:00
parent e30b6a5670
commit 2a4de7f153
3 changed files with 10 additions and 8 deletions
+2
View File
@@ -165,6 +165,7 @@ class EndToEndTestCase(unittest.TestCase):
}
})
self.eventuallyEqual(lambda: self.k8s.get_operator_state(), {"0": "idle"}, "Operator does not get in sync")
self.eventuallyEqual(lambda: self.k8s.get_deployment_replica_count(name="acid-minimal-cluster-pooler"), 2,
"Operator did not succeed in overwriting labels")
@@ -177,6 +178,7 @@ class EndToEndTestCase(unittest.TestCase):
}
})
self.eventuallyEqual(lambda: self.k8s.get_operator_state(), {"0": "idle"}, "Operator does not get in sync")
self.eventuallyEqual(lambda: self.k8s.count_running_pods("connection-pooler=acid-minimal-cluster-pooler"),
0, "Pooler pods not scaled down")