Skip to content

Commit c279063

Browse files
PBM_tests. Add delay for PITR, Return OL8 as base image (#923)
* PBM_tests. Add delay for PITR to catch-up * PBM_tests. Return OL8 as base image, fix style error
1 parent f7f23be commit c279063

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

e2e-tests/docker/pbm.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ARG MONGODB_IMAGE=percona/percona-server-mongodb
33

44
FROM ${MONGODB_IMAGE}:${MONGODB_VERSION} as mongo_image
55

6-
FROM oraclelinux:9 as base-build
6+
FROM oraclelinux:8 as base-build
77
WORKDIR /build
88

99
RUN mkdir -p /data/db

e2e-tests/docker/tests.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM oraclelinux:9 AS base-build
1+
FROM oraclelinux:8 AS base-build
22
WORKDIR /build
33
RUN dnf update && dnf install make gcc krb5-devel
44

e2e-tests/pkg/pbm/clock_skew.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func ClockSkew(rsName, ts, dockerHost string) error {
5555
Env: envs,
5656
Cmd: []string{"pbm-agent"},
5757
Labels: containerOld.Config.Labels,
58-
User: "1001",
58+
User: "1001",
5959
},
6060
containerOld.HostConfig,
6161
&network.NetworkingConfig{

e2e-tests/pkg/tests/sharded/trx.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,7 @@ func (c *Cluster) checkTrxCollection(ctx context.Context, col string, bcp Backup
361361
}
362362
c.flushRouterConfig(ctx)
363363

364+
time.Sleep(time.Second * 60)
364365
bcp.Restore()
365366

366367
log.Println("check committed transaction")

0 commit comments

Comments
 (0)