mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-07-07 02:02:21 +02:00
Compare commits
No commits in common. "f3fcbe14eefc62f0f7d23429b83fc81c806817cf" and "ee3baa48eaef04624865267a43b13a39bc30a802" have entirely different histories.
f3fcbe14ee
...
ee3baa48ea
@ -121,7 +121,7 @@ func newS3ClientDeployment(namespace string) *appsv1.Deployment {
|
||||
{
|
||||
Name: s3ClientName,
|
||||
// renovate: datasource=docker depName=amazon/aws-cli versioning=docker
|
||||
Image: "docker.io/amazon/aws-cli:2.35.11",
|
||||
Image: "docker.io/amazon/aws-cli:2.35.4",
|
||||
Command: []string{"sleep", "infinity"},
|
||||
Env: []corev1.EnvVar{
|
||||
{
|
||||
|
||||
@ -59,7 +59,7 @@ const (
|
||||
managerExecutable = "/controller/manager"
|
||||
// postgresContainer is the container we exec into on instance pods.
|
||||
postgresContainer = "postgres"
|
||||
// walLogDir is the WALs subdirectory (timeline + log id) the forged segments
|
||||
// walLogDir is the wals sub-directory (timeline + log id) the forged segments
|
||||
// live under; a freshly bootstrapped, idle cluster stays within it.
|
||||
walLogDir = "0000000100000000"
|
||||
// bucket is the destination bucket of the minio ObjectStore.
|
||||
@ -105,7 +105,7 @@ func execInPod(
|
||||
// This test drives the plugin's parallel WAL restore directly: it invokes the
|
||||
// instance-manager wal-restore command on the standby (which delegates to the
|
||||
// plugin) and asserts the prefetch/spool/end-of-wal-stream state machine with
|
||||
// maxParallel = 3. To control the archive deterministically, it forges WAL
|
||||
// maxParallel = 3. To control the archive deterministically it forges WAL
|
||||
// segments on the object store by copying a real archived segment under new
|
||||
// names.
|
||||
var _ = Describe("Parallel WAL restore", func() {
|
||||
@ -166,6 +166,9 @@ var _ = Describe("Parallel WAL restore", func() {
|
||||
primary := cluster.Status.CurrentPrimary
|
||||
Expect(primary).NotTo(BeEmpty())
|
||||
standby := clusterName + "-2"
|
||||
if primary == standby {
|
||||
standby = clusterName + "-1"
|
||||
}
|
||||
|
||||
var s3ClientPods corev1.PodList
|
||||
Expect(cl.List(ctx, &s3ClientPods,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user