test(auction): add two-node Docker failure integration suite
Exercise Nginx routing, Mongo transaction ordering, history backfills, Undo, Pub/Sub TCP loss, safety polling, resync, and reconnection. Keep fixtures and results isolated from production and git.
This commit is contained in:
1 parent
23a0a3f8dd
commit
8d741ef9a7
9 files changed
+1024
No files matched your search
@@ -0,0 +1,13 @@
|
||||
FROM node:26-bookworm-slim
|
||||
RUN npm install --global pnpm@10.4.1
|
||||
WORKDIR /workspace
|
||||
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
|
||||
COPY packages/contracts ./packages/contracts
|
||||
COPY apps/api/package.json ./apps/api/package.json
|
||||
COPY apps/web/package.json ./apps/web/package.json
|
||||
RUN pnpm install --frozen-lockfile --filter api --filter web --ignore-scripts
|
||||
COPY apps/api ./apps/api
|
||||
COPY apps/web/src/api ./apps/web/src/api
|
||||
WORKDIR /workspace/apps/api
|
||||
ENV NODE_ENV=test NEW_RELIC_ENABLED=false
|
||||
CMD ["node", "-r", "ts-node/register/transpile-only", "test/auction-cluster/node.ts"]
|
||||
Reference in new issue
Block a user