Skip to content

Conversation

@MadLittleMods
Copy link
Collaborator

@MadLittleMods MadLittleMods commented Nov 21, 2025

Remove Dendrite skips from room upgrade push rule tests

element-hq/dendrite#3668 is now merged which should fix this kind of thing.

Follow-up to #819 (comment)

Pull Request Checklist

Signed-off-by: Eric Eastwood erice@element.io

// from the old room to the new room at the time of upgrade.
t.Run(upgradeDescriptorPrefix+"upgrading a room carries over existing push rules for local users", func(t *testing.T) {
t.Parallel()

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

CI is using https://codeload.github.com/element-hq/dendrite/tar.gz/12b7038989b9e3f6a7bbbd962196e2dd36ec13f0 corresponding to the commit that includes the fix in Dendrite (element-hq/dendrite@12b7038).

But the tests are still failing for the same reason:

❌ TestPushRuleRoomUpgrade/parallel/upgrading_a_room_carries_over_existing_push_rules_for_local_users (6.39s)
      room_upgrade_test.go:89: Checking push rules (before upgrade) for @user-128-alice:hs1
      room_upgrade_test.go:89: Checking push rules (before upgrade) for @user-129-alice2:hs1
      room_upgrade_test.go:125: Upgraded room !elCWMwXxgKzi5gqO:hs1 to !GxZSg7a8AVeZ29Ie:hs1
      room_upgrade_test.go:141: Checking push rules (after upgrade) for @user-128-alice:hs1
      room_upgrade_test.go:143: @user-128-alice:hs1 MustSyncUntil: timed out after 5.04126244s. Seen 6 /sync responses. Checkers:
          [t=32.802391ms] Response #1: Key account_data.events does not exist
          [t=1.034544608s] Response #2: Key account_data.events does not exist
          [t=2.036325764s] Response #3: Key account_data.events does not exist
          [t=3.03838327s] Response #4: Key account_data.events does not exist
          [t=4.039937578s] Response #5: Key account_data.events does not exist
          [t=5.04125746s] Response #6: Key account_data.events does not exist, 
          [t=32.826866ms] Response #1: Key account_data.events does not exist
          [t=1.034548655s] Response #2: Key account_data.events does not exist
          [t=2.036330223s] Response #3: Key account_data.events does not exist
          [t=3.038387698s] Response #4: Key account_data.events does not exist
          [t=4.039940784s] Response #5: Key account_data.events does not exist
          [t=5.041261107s] Response #6: Key account_data.events does not exist, 

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

cc @S7evinK although no pressure for further development

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