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

Fix a flaky cross-signing test #749

Merged
merged 1 commit into from
Nov 26, 2019
Merged

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Nov 25, 2019

The basic problem in this test is that there are three things that can cause a
"devices/changed" sync update:

  • inviting the user
  • the user joining
  • the user doing his cross-signing

... and it's hard to be sure that we're getting the right update. If we make
sure that we wait for each update, it fixes the race condition.

The basic problem in this test is that there are three things that can cause a
"devices/changed" sync update:
 * inviting the user
 * the user joining
 * the user doing his cross-signing

... and it's hard to be sure that we're getting the right update. If we make
sure that we wait for each update, it fixes the race condition.
@richvdh richvdh requested review from a team and uhoreg and removed request for a team November 25, 2019 17:41
@richvdh
Copy link
Member Author

richvdh commented Nov 25, 2019

@uhoreg perhaps you'd like to review this one :)

Copy link
Member

@uhoreg uhoreg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, this looks like the sort of thing that I should be looking at. ;)

looks reasonable

@richvdh richvdh merged commit 281a76c into develop Nov 26, 2019
anoadragon453 added a commit that referenced this pull request Mar 18, 2020
…ase-v1.6.x

* origin/release-v1.6.1: (32 commits)
  Move scripts which aren't in docker out of `docker` (#752)
  README.md: don't forget to update dendrite:latest
  fix another results.tap
  Fix path to results.tap for dendrite build
  remove redundant (and failing) tap-to-junit
  Don't modify source volumes when running in docker (#748)
  Fix a flaky cross-signing test (#749)
  Add tests for 3PID registration (#695)
  Update the SyTest Docker files (#744)
  rejected state test (#742)
  Add test for rooms transferring on groups after room upgrade (#737)
  test pushes of rejected events (#738)
  Tests for room tags and push rules after upgrading a remote room (#721)
  Test that a room is depublished from the public rooms list upon room upgrade (#729)
  Review comments
  Tests for signatures and auth on /send_join etc (#734)
  Wrap in retry loop as room dir is updated async
  Tests room dir search
  Wrap numbers in JSON bodies (#733)
  Add frontend proxy worker
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants