File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
crates/matrix-sdk-ui/tests/integration/timeline Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -87,8 +87,8 @@ async fn message_order() {
87
87
assert_eq!( value. content( ) . as_message( ) . unwrap( ) . body( ) , "Second." ) ;
88
88
} ) ;
89
89
90
- // Wait 200ms for the first msg, 100ms for the second, 100ms for overhead
91
- sleep ( Duration :: from_millis ( 400 ) ) . await ;
90
+ // Wait 200ms for the first msg, 100ms for the second, 200ms for overhead
91
+ sleep ( Duration :: from_millis ( 500 ) ) . await ;
92
92
93
93
// The first item should be updated first
94
94
assert_next_matches ! ( timeline_stream, VectorDiff :: Set { index: 0 , value } => {
@@ -185,8 +185,8 @@ async fn retry_order() {
185
185
assert_eq!( value. content( ) . as_message( ) . unwrap( ) . body( ) , "First!" ) ;
186
186
} ) ;
187
187
188
- // Wait 200ms for the first msg, 100ms for the second, 200ms for overhead
189
- sleep ( Duration :: from_millis ( 500 ) ) . await ;
188
+ // Wait 200ms for the first msg, 100ms for the second, 300ms for overhead
189
+ sleep ( Duration :: from_millis ( 600 ) ) . await ;
190
190
191
191
// The second item should be updated first, since it was retried first
192
192
assert_next_matches ! ( timeline_stream, VectorDiff :: Set { index: 1 , value } => {
You can’t perform that action at this time.
0 commit comments