federation-send-parallel
phiresky 2024-06-03 23:41:38 +02:00
parent 101901b8e0
commit dfccf3efa5
1 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,7 @@ import {
betaUrl,
registerUser,
unfollows,
delay,
} from "./shared";
beforeAll(setupLogins);
@ -46,6 +47,7 @@ test("Follow local community", async () => {
test("Follow federated community", async () => {
// It takes about 1 second for the community aggregates to federate
await delay(2000); // if this is the second test run, we don't have a way to wait for the correct number of subscribers
const betaCommunityInitial = (
await waitUntil(
() => resolveBetaCommunity(alpha),