yumechi-no-kuni/packages/backend/test-federation
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
Atomic AP account deletion
Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
2024-11-19 19:44:12 -06:00
..
.config test(backend): add federation test (#14582) 2024-10-15 13:37:00 +09:00
test Atomic AP account deletion 2024-11-19 19:44:12 -06:00
.gitignore test(backend): add federation test (#14582) 2024-10-15 13:37:00 +09:00
compose.a.yml test(backend): add federation test (#14582) 2024-10-15 13:37:00 +09:00
compose.b.yml test(backend): add federation test (#14582) 2024-10-15 13:37:00 +09:00
compose.override.yaml test(backend): add federation test (#14582) 2024-10-15 13:37:00 +09:00
compose.tpl.yml test(backend): add federation test (#14582) 2024-10-15 13:37:00 +09:00
compose.yml test(backend): add federation test (#14582) 2024-10-15 13:37:00 +09:00
daemon.ts test(backend): add federation test (#14582) 2024-10-15 13:37:00 +09:00
eslint.config.js test(backend): add federation test (#14582) 2024-10-15 13:37:00 +09:00
README.md test(backend): add federation test (#14582) 2024-10-15 13:37:00 +09:00
setup.sh test(backend): add federation test (#14582) 2024-10-15 13:37:00 +09:00
tsconfig.json test(backend): add federation test (#14582) 2024-10-15 13:37:00 +09:00

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