Fix existing E2eeSanityTests to support changes for key history sharing
This commit is contained in:
parent
28dd507a74
commit
3a5b737639
@ -166,7 +166,7 @@ class E2eeSanityTests : InstrumentedTest {
|
|||||||
delay(3_000)
|
delay(3_000)
|
||||||
}
|
}
|
||||||
|
|
||||||
// check that messages are encrypted (uisi)
|
// Due to the new shared keys implementation, invited user should be able to decrypt messages
|
||||||
newAccount.forEach { otherSession ->
|
newAccount.forEach { otherSession ->
|
||||||
testHelper.waitWithLatch { latch ->
|
testHelper.waitWithLatch { latch ->
|
||||||
testHelper.retryPeriodicallyWithLatch(latch) {
|
testHelper.retryPeriodicallyWithLatch(latch) {
|
||||||
@ -174,8 +174,7 @@ class E2eeSanityTests : InstrumentedTest {
|
|||||||
Log.v("#E2E TEST", "Event seen by new user ${it?.root?.getClearType()}|${it?.root?.mCryptoError}")
|
Log.v("#E2E TEST", "Event seen by new user ${it?.root?.getClearType()}|${it?.root?.mCryptoError}")
|
||||||
}
|
}
|
||||||
timelineEvent != null &&
|
timelineEvent != null &&
|
||||||
timelineEvent.root.getClearType() == EventType.ENCRYPTED &&
|
timelineEvent.root.getClearType() == EventType.MESSAGE
|
||||||
timelineEvent.root.mCryptoError == MXCryptoError.ErrorType.UNKNOWN_INBOUND_SESSION_ID
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user