Skip to content

Commit

Permalink
tests: use rocksdb in the integration tests (#819)
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroferreira1 authored Feb 27, 2025
1 parent 13f2b4d commit 9c78996
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions __tests__/integration/configuration/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ services:
"--wallet-index",
"--allow-mining-without-peers",
"--unsafe-mode", "nano-testnet-alpha",
"--memory-storage",
"--data", "./tmp",
"--nc-history-index",
]
environment:
Expand All @@ -29,12 +29,18 @@ services:
target: /privnet/conf
networks:
- hathor-privnet
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; import json; r = urllib.request.urlopen('http://localhost:8080/v1a/status'); body = json.loads(r.read()); assert body['server']['state'] == 'READY'"]
interval: 5s
timeout: 10s
retries: 10

tx-mining-service:
image:
${HATHOR_LIB_INTEGRATION_TESTS_TXMINING_IMAGE:-hathornetwork/tx-mining-service}
depends_on:
- fullnode
fullnode:
condition: service_healthy
ports:
- "8034:8034" # Not mandatory to keep this port open, but helpful for developer machine debugging
- "8035:8035"
Expand Down

0 comments on commit 9c78996

Please sign in to comment.