LemmyNet / lemmy

🐀 A link aggregator and forum for the fediverse
https://join-lemmy.org
GNU Affero General Public License v3.0
13.25k stars 880 forks source link

[Bug]: Intermittent CI failures for federation test: `Community follower count is federated` test #5179

Open dessalines opened 6 hours ago

dessalines commented 6 hours ago

Requirements

Summary

We're getting CI issues randomly for the test below, related to community follower counts:

Stacktrace:

  ● Community follower count is federated

    expect(received).toBe(expected) // Object.is equality

    Expected: 1
    Received: 2

      398 |
      399 |   // Make sure there is 1 subscriber
    > 400 |   expect(followed?.counts.subscribers).toBe(1);
          |                                        ^
      401 |
      402 |   // Follow the community from gamma
      403 |   resolved = await resolveCommunity(gamma, communityActorId);

      at Object.<anonymous> (src/community.spec.ts:400:40)

Context: https://woodpecker.join-lemmy.org/repos/129/pipeline/10113/22#L379

Steps to Reproduce

Run the CI

Technical Details

See above.

Version

main

Lemmy Instance URL

No response