Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 60dd5b9

Browse files
committedJul 4, 2023
revert test data
1 parent f83030a commit 60dd5b9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
 

‎.github/workflows/verify.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ jobs:
171171
- name: Starting MIW, Keycloak and Postgres Servers
172172
run: |
173173
cd edc-tests/miw-tests/src/test/resources
174-
mkdir postgres_data
175174
docker compose up --wait || docker compose logs
176175
177176
- uses: nick-fields/retry@v2

‎edc-tests/miw-tests/src/test/java/org/eclipse/tractusx/edc/tests/miw/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
## Test setup
44

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

89
## Test suite description
910

‎edc-tests/miw-tests/src/test/resources/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ services:
2626
postgres:
2727
image: postgres
2828
volumes:
29-
- ./postgres_data:/var/lib/postgresql/data
29+
- postgres_data:/var/lib/postgresql/data
3030
- ./db.sh:/docker-entrypoint-initdb.d/init-database.sh
3131
- ./seed.sh:/opt/seed.sh
3232
environment:

0 commit comments

Comments
 (0)
Please sign in to comment.