Skip to content

Commit

Permalink
Skip broken test under certain configurations: element-hq/synapse#15717
Browse files Browse the repository at this point in the history
  • Loading branch information
kegsay committed Mar 5, 2024
1 parent b739d32 commit 8b0a16e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/membership_acls_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,12 @@ func TestBobCanSeeButNotDecryptHistoryInPublicRoom(t *testing.T) {
// Bob leaves the room. Some messages are sent. Bob rejoins and cannot decrypt the messages sent whilst he was gone (ensuring we cycle keys).
func TestOnRejoinBobCanSeeButNotDecryptHistoryInPublicRoom(t *testing.T) {
ClientTypeMatrix(t, func(t *testing.T, clientTypeA, clientTypeB api.ClientType) {
// disable this test if A) it's over federation and B) the HS2 user is on JS
// due to https://github.com/element-hq/synapse/issues/15717
if clientTypeA.HS != clientTypeB.HS && clientTypeB.Lang == api.ClientTypeJS {
t.Skipf("skipping due to https://github.com/element-hq/synapse/issues/15717")
return
}
tc := CreateTestContext(t, clientTypeA, clientTypeB)
// shared history visibility
roomID := tc.CreateNewEncryptedRoom(t, tc.Alice, "public_chat", nil)
Expand Down

0 comments on commit 8b0a16e

Please sign in to comment.