Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
5 tasks done
dessalines opened this issue Nov 8, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@dessalines
Copy link
Member

Requirements

  • Is this a bug report? For questions or discussions use https://lemmy.ml/c/lemmy_support
  • Did you check to see if this issue already exists?
  • Is this only a single bug? Do not put multiple bugs in one issue.
  • Do you agree to follow the rules in our Code of Conduct?
  • Is this a backend issue? Use the lemmy-ui repo for UI / frontend issues.

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

@dessalines
Copy link
Member Author

Should be fixed by #5207

@Nutomic
Copy link
Member

Nutomic commented Nov 25, 2024

No that one is unrelated.

@dessalines dessalines reopened this Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants