Skip to content

Commit

Permalink
PBM-1384 debug (#208)
Browse files Browse the repository at this point in the history
* PBM-1384 debug

* PBM-1384 debug azurite

* PBM-1384 debug azurite
  • Loading branch information
olexandr-havryliak authored Sep 6, 2024
1 parent 87b3d70 commit d847b8e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/PBM-FULL.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ jobs:
run: |
docker compose run --rm test pytest -s --junitxml=junit.xml -k ${{ matrix.test }}
working-directory: ./pbm-functional/pytest
- name: Print Azurite logs
if: failure()
run: |
docker logs azurite
- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
if: success() || failure()
Expand Down
3 changes: 2 additions & 1 deletion pbm-functional/pytest/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,8 @@ def make_backup(self, type):
elif "resync" in start.stdout:
Cluster.log("Resync in progress, retrying: " + start.stdout)
else:
assert False, "Backup failed" + start.stdout + start.stderr
logs = n.check_output("pbm logs -sD -t0")
assert False, "Backup failed" + start.stdout + start.stderr + '\n' + logs
if time.time() > timeout:
assert False, "Timeout for backup start exceeded"
time.sleep(1)
Expand Down
2 changes: 1 addition & 1 deletion pbm-functional/pytest/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ services:
- "10000:10000"
networks:
- test
command: azurite-blob --blobHost 0.0.0.0
command: azurite-blob --blobHost 0.0.0.0 -d /dev/stdout

minio:
image: minio/minio
Expand Down

0 comments on commit d847b8e

Please sign in to comment.