eternal-flame-AD
1d7e141d01
Some checks failed
Lint / pnpm_install (push) Successful in 1m57s
Test (backend) / e2e (22.11.0) (push) Failing after 2m2s
Publish Docker image / Build (push) Successful in 5m5s
Test (federation) / test (22.11.0) (push) Failing after 1m36s
Test (production install and build) / production (22.11.0) (push) Successful in 1m14s
Lint / lint (backend) (push) Successful in 2m21s
Test (backend) / unit (22.11.0) (push) Failing after 8m22s
Lint / lint (frontend) (push) Successful in 2m19s
Lint / lint (frontend-shared) (push) Failing after 1m51s
Lint / lint (frontend-embed) (push) Successful in 2m34s
Lint / lint (misskey-bubble-game) (push) Successful in 2m25s
Lint / lint (misskey-js) (push) Successful in 2m16s
Lint / lint (misskey-reversi) (push) Successful in 2m19s
Lint / lint (sw) (push) Successful in 2m19s
Lint / typecheck (misskey-js) (push) Successful in 1m44s
Lint / typecheck (backend) (push) Failing after 2m0s
Lint / typecheck (sw) (push) Successful in 1m36s
Signed-off-by: eternal-flame-AD <yume@yumechi.jp> |
||
---|---|---|
.. | ||
.config | ||
test | ||
.gitignore | ||
compose.a.yml | ||
compose.b.yml | ||
compose.override.yaml | ||
compose.tpl.yml | ||
compose.yml | ||
daemon.ts | ||
eslint.config.js | ||
README.md | ||
setup.sh | ||
tsconfig.json |
test-federation
Test federation between two Misskey servers: a.test
and b.test
.
Before testing, you need to build the entire project, and change working directory to here:
pnpm build
cd packages/backend/test-federation
First, you need to start servers by executing following commands:
bash ./setup.sh
docker compose up --scale tester=0
Then you can run all tests by a following command:
docker compose run --no-deps --rm tester
For testing a specific file, run a following command:
docker compose run --no-deps --rm tester -- pnpm -F backend test:fed packages/backend/test-federation/test/user.test.ts