Skip to content

Commit

Permalink
Make sure HAF service in e2e_benchark job respects PGCTLTIMEOUT varia…
Browse files Browse the repository at this point in the history
…ble - ref. #205
  • Loading branch information
Konrad Botor committed Sep 22, 2023
1 parent bc351fd commit 112981a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .gitlab-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -407,8 +407,11 @@ e2e_benchmark:
DATADIR: $DATA_CACHE_HAF_DATADIR
SHM_DIR: $DATA_CACHE_HAF_SHM_DIR
LOG_FILE: $CI_JOB_NAME.log
PGCTLTIMEOUT: 600 # give PostgreSQL more time to start if GitLab shut it down improperly after sync job
command: ["--replay-blockchain", "--stop-replay-at-block=5000000"]
PGCTLTIMEOUT: 600 # give PostgreSQL more time to start if GitLab shut it down improperly after the sync job
entrypoint:
- bash
- -c
- echo PGCTLTIMEOUT = ${PGCTLTIMEOUT} | sudo tee -a /etc/postgresql/14/main/environment && /home/haf_admin/docker_entrypoint.sh --replay-blockchain --stop-replay-at-block=5000000
- name: $HIVEMIND_IMAGE
alias: hivemind-smoketest # cannot be a variable
entrypoint:
Expand Down

0 comments on commit 112981a

Please sign in to comment.