Skip to content

Commit

Permalink
revert test data
Browse files Browse the repository at this point in the history
  • Loading branch information
paullatzelsperger committed Jul 4, 2023
1 parent 346ced3 commit cb43149
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ jobs:
- name: Starting MIW, Keycloak and Postgres Servers
run: |
cd edc-tests/miw-tests/src/test/resources
mkdir postgres_data
docker compose up --wait || docker compose logs
- uses: nick-fields/retry@v2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
## Test setup

As test subject we used a `docker-compose.yml` file located in `src/main/resources/`. From that directory, simply
execute `docker compose up --wait`.
execute `docker compose up --wait`, and then, once everything is started,
run `docker exec -i resources-postgres-1 /opt/seed.sh` to seed test data.

## Test suite description

Expand Down
2 changes: 1 addition & 1 deletion edc-tests/miw-tests/src/test/resources/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ services:
postgres:
image: postgres
volumes:
- ./postgres_data:/var/lib/postgresql/data
- postgres_data:/var/lib/postgresql/data
- ./db.sh:/docker-entrypoint-initdb.d/init-database.sh
- ./seed.sh:/opt/seed.sh
environment:
Expand Down

0 comments on commit cb43149

Please sign in to comment.