Skip to content

feat(chaos): add DB restart chaos test with docker-compose #2

feat(chaos): add DB restart chaos test with docker-compose

feat(chaos): add DB restart chaos test with docker-compose #2

Workflow file for this run

name: Chaos tests
on:
pull_request:
paths:
- "tests/chaos/**"
- "src/**"
- "prisma/**"
- "Dockerfile"
- ".github/workflows/chaos.yml"
jobs:
chaos:
name: DB restart chaos test
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Verify Docker is available
run: docker info
- name: Run chaos tests
run: npm run test:chaos
env:
# Forward testnet RPC so the indexer can fetch real events
STELLAR_NETWORK: testnet