diff --git a/tests/30rooms/04messages.pl b/tests/30rooms/04messages.pl index e49206e86..9a267a515 100644 --- a/tests/30rooms/04messages.pl +++ b/tests/30rooms/04messages.pl @@ -364,7 +364,7 @@ content => { msgtype => "m.text", body => "This is a message", - "org.matrix.self_destruct_after" => $now_ms + 500, + "org.matrix.self_destruct_after" => $now_ms + 1000, }, )->then( sub { await_sync_timeline_contains($user, $room_id, check => sub { @@ -373,7 +373,7 @@ }) })->then( sub { # wait for the message to expire - delay( 1 ) + delay( 1.5 ) })->then( sub { my $iter = 0; retry_until_success { diff --git a/tests/50federation/31room-send.pl b/tests/50federation/31room-send.pl index 7c6c6d279..585d7d56b 100644 --- a/tests/50federation/31room-send.pl +++ b/tests/50federation/31room-send.pl @@ -165,7 +165,7 @@ content => { msgtype => "m.text", body => "This is a message", - "org.matrix.self_destruct_after" => $now_ms + 500, + "org.matrix.self_destruct_after" => $now_ms + 1000, }, ) })->then( sub {