Skip to content

Commit 86f82b3

Browse files
committed
test(sdk): Disable test_latest_thread_event_is_redecrypted_and_updated for now.
This test is not working because of R2D2 not updating threads for now. This is normal. This is going to be refactored in a later PR.
1 parent d7bc5ef commit 86f82b3

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

testing/matrix-sdk-integration-testing/src/helpers.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ impl TestClientBuilder {
9494
self
9595
}
9696

97+
#[allow(unused)]
9798
pub fn enable_threading_support(mut self, thread_support: ThreadingSupport) -> Self {
9899
self.threading_support = thread_support;
99100
self

testing/matrix-sdk-integration-testing/src/tests/timeline.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ use eyeball_im::{Vector, VectorDiff};
2222
use futures::pin_mut;
2323
use futures_util::{FutureExt, StreamExt};
2424
use matrix_sdk::{
25-
Client, Room, RoomState, ThreadingSupport, assert_let_timeout, assert_next_with_timeout,
25+
Client, Room, RoomState, assert_let_timeout, assert_next_with_timeout,
2626
config::SyncSettings,
2727
deserialized_responses::{VerificationLevel, VerificationState},
2828
encryption::{
@@ -56,8 +56,7 @@ use matrix_sdk_ui::{
5656
sync_service::SyncService,
5757
timeline::{
5858
EventSendState, EventTimelineItem, ReactionStatus, RoomExt, TimelineBuilder,
59-
TimelineDetails, TimelineEventFocusThreadMode, TimelineEventItemId, TimelineFocus,
60-
TimelineItem,
59+
TimelineEventFocusThreadMode, TimelineFocus, TimelineItem,
6160
},
6261
};
6362
use similar_asserts::assert_eq;
@@ -1384,6 +1383,7 @@ async fn test_permalink_timelines_redecrypt() -> TestResult {
13841383
Ok(())
13851384
}
13861385

1386+
/*
13871387
/// Test that UTDs as the latest thread event (in the summary), once decrypted
13881388
/// by R2D2 (the redecryptor), get replaced in the timeline with the decrypted
13891389
/// variant of the latest event, in the summary.
@@ -1583,6 +1583,7 @@ async fn test_latest_thread_event_is_redecrypted_and_updated() -> TestResult {
15831583
15841584
Ok(())
15851585
}
1586+
*/
15861587

15871588
#[tokio::test(flavor = "multi_thread", worker_threads = 4)]
15881589
async fn test_send_message_updates() -> Result<()> {

0 commit comments

Comments
 (0)