Skip to content

Commit

Permalink
Use the same timings in both tests
Browse files Browse the repository at this point in the history
  • Loading branch information
babolivier committed Dec 3, 2019
1 parent 20071a5 commit d7bda11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/30rooms/04messages.pl
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@
content => {
msgtype => "m.text",
body => "This is a message",
"org.matrix.self_destruct_after" => $now_ms + 1000,
"org.matrix.self_destruct_after" => $now_ms + 500,
},
)->then( sub {
await_sync_timeline_contains($user, $room_id, check => sub {
Expand All @@ -373,7 +373,7 @@
})
})->then( sub {
# wait for the message to expire
delay( 1.5 )
delay( 1 )
})->then( sub {
my $iter = 0;
retry_until_success {
Expand Down

0 comments on commit d7bda11

Please sign in to comment.