Skip to content

Commit a215cd4

Browse files
committed
K8SPSMDB-1396: e2e updates: output oper log, increase sleep
1 parent 30d9ec9 commit a215cd4

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

e2e-tests/demand-backup-physical-sharded/conf/some-name-sharded.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ spec:
5959
resources:
6060
limits:
6161
cpu: 500m
62-
memory: 1G
62+
memory: 2G
6363
requests:
6464
cpu: 100m
6565
memory: 0.1G

e2e-tests/functions

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,12 @@ wait_for_running() {
640640
timeout=$((timeout + 1))
641641
echo -n '.'
642642
if [[ ${timeout} -gt 1500 ]]; then
643+
kubectl_bin logs ${OPERATOR_NS:+-n $OPERATOR_NS} $(get_operator_pod) \
644+
| grep -v 'level=info' \
645+
| grep -v 'level=debug' \
646+
| grep -v 'Getting tasks for pod' \
647+
| grep -v 'Getting pods from source' \
648+
| tail -200
643649
echo
644650
echo "Waiting timeout has been reached. Exiting..."
645651
exit 1

e2e-tests/pitr-physical/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ main() {
6161
backup_name_minio="backup-minio"
6262
run_backup $backup_name_minio 2 physical
6363

64-
write_document "-2nd" '120'
64+
write_document "-2nd" '130'
6565

6666
backup_last_write=$(kubectl_bin exec $cluster-rs0-0 -c backup-agent -- pbm status -o json | jq .backups.snapshot[0].restoreTo)
6767
last_chunk=$(get_latest_oplog_chunk_ts $cluster)

0 commit comments

Comments
 (0)