mirror of
https://github.com/bitnami/charts.git
synced 2026-03-06 06:58:50 +08:00
[bitnami/postgresql-ha] test: ✅ Temporary change the ginkgo check command (#29179)
* [bitnami/ginkgo] test: ✅ Temporary change the ginkgo check command Signed-off-by: Javier J. Salmerón García <javier.salmeron@broadcom.com> * Update CHANGELOG.md Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> --------- Signed-off-by: Javier J. Salmerón García <javier.salmeron@broadcom.com> Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
committed by
GitHub
parent
0c795af7d4
commit
f88712186d
@@ -92,10 +92,13 @@ var _ = Describe("Postgresql", Ordered, func() {
|
||||
return c.AppsV1().StatefulSets(namespace).Get(ctx, stsName, getOpts)
|
||||
}, timeout, PollingInterval).Should(WithTransform(getAvailableReplicas, Equal(origReplicas)))
|
||||
|
||||
By("creating a job to drop the test database")
|
||||
// TODO: We're finding issues with pgpool when restarting the cluster. It is not properly updating
|
||||
// the primary node, causing the test to fail. While we find a solution, we change to perform a
|
||||
// query compatible with both primary and replica nodes
|
||||
By("creating a job to show the test database")
|
||||
deleteDBJobName := fmt.Sprintf("%s-deletedb-%s",
|
||||
releaseName, jobSuffix)
|
||||
err = createJob(ctx, c, deleteDBJobName, pgPoolName, port, image, fmt.Sprintf("DROP DATABASE %s WITH (FORCE);", dbName))
|
||||
err = createJob(ctx, c, deleteDBJobName, pgPoolName, port, image, fmt.Sprintf("\\c %s;", dbName))
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
|
||||
Eventually(func() (*batchv1.Job, error) {
|
||||
|
||||
@@ -1,8 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## 14.2.20 (2024-09-03)
|
||||
## 14.2.21 (2024-09-03)
|
||||
|
||||
* [bitnami/postgresql-ha] test: :white_check_mark: Improve ginkgo test reliability ([#29166](https://github.com/bitnami/charts/pull/29166))
|
||||
* [bitnami/postgresql-ha] test: :white_check_mark: Temporary change the ginkgo check command ([#29179](https://github.com/bitnami/charts/pull/29179))
|
||||
|
||||
## <small>14.2.20 (2024-09-03)</small>
|
||||
|
||||
* [bitnami/postgresql-ha] test: :white_check_mark: Improve ginkgo test reliability (#29166) ([7e4276d](https://github.com/bitnami/charts/commit/7e4276d84ff247c178297763cfb31a4dfeaae00d)), closes [#29166](https://github.com/bitnami/charts/issues/29166)
|
||||
|
||||
## <small>14.2.19 (2024-08-30)</small>
|
||||
|
||||
|
||||
@@ -40,4 +40,4 @@ maintainers:
|
||||
name: postgresql-ha
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/postgresql-ha
|
||||
version: 14.2.20
|
||||
version: 14.2.21
|
||||
|
||||
Reference in New Issue
Block a user