File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8585
8686 - name : Acceptance & environment emulation tests
8787 run : |
88- npm run test:acceptance:docker && \
89- npm run test:acceptance:proxy
88+ set +e
89+ docker compose -f compose.yml -f test/acceptance/compose.yml \
90+ run --rm --build --pull always --quiet-pull test
91+ if [ $? -ne 0 ]; then
92+ echo -e '\n\n====> Dumping DAL logs...\n'
93+ docker logs fcp-dal-api-fcp-dal-api-1 | jq
94+ docker compose down --remove-orphans
95+ exit 1
96+ fi
97+ docker compose -f compose.yml -f test/acceptance/compose.yml -f test/acceptance/cdp-mock-check.yml \
98+ run --rm --quiet-pull test # no need to build or pull again
99+ if [ $? -ne 0 ]; then
100+ echo -e '\n\n====> Dumping DAL logs...\n'
101+ docker logs fcp-dal-api-fcp-dal-api-1 | jq
102+ docker compose down --remove-orphans
103+ exit 1
104+ fi
105+ docker compose down --remove-orphans
90106 # TODO: re-enable mTLS tests when startup health check issue is resolved
91107 # && npm run test:acceptance:proxy:mtls
92108
You can’t perform that action at this time.
0 commit comments