File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
testing/matrix-sdk-integration-testing/src/tests Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ use tokio::{
47
47
task:: JoinHandle ,
48
48
time:: { sleep, timeout} ,
49
49
} ;
50
- use tracing:: { debug, warn} ;
50
+ use tracing:: { debug, trace , warn} ;
51
51
52
52
use crate :: helpers:: TestClientBuilder ;
53
53
@@ -278,11 +278,13 @@ async fn test_stale_local_echo_time_abort_edit() {
278
278
{
279
279
let mut diffs = Vec :: with_capacity ( 3 ) ;
280
280
281
- while let Ok ( Some ( vector_diff) ) = timeout ( Duration :: from_secs ( 5 ) , stream. next ( ) ) . await {
281
+ while let Ok ( Some ( vector_diff) ) = timeout ( Duration :: from_secs ( 15 ) , stream. next ( ) ) . await {
282
282
diffs. push ( vector_diff) ;
283
283
}
284
284
285
- assert ! ( diffs. len( ) >= 3 ) ;
285
+ trace ! ( ?diffs, "Received diffs" ) ;
286
+
287
+ assert ! ( diffs. len( ) >= 2 ) ;
286
288
287
289
for diff in diffs {
288
290
match diff {
@@ -642,7 +644,7 @@ async fn test_room_keys_received_on_notification_client_trigger_redecryption() {
642
644
. expect ( "We should be able toe get a notification item for the given event" ) ;
643
645
644
646
// Alright, we should now receive an update that the event had been decrypted.
645
- let _vector_diff = timeout ( Duration :: from_secs ( 5 ) , stream. next ( ) ) . await . unwrap ( ) . unwrap ( ) ;
647
+ let _vector_diff = timeout ( Duration :: from_secs ( 10 ) , stream. next ( ) ) . await . unwrap ( ) . unwrap ( ) ;
646
648
647
649
// Let's fetch the event again.
648
650
let item =
You can’t perform that action at this time.
0 commit comments