Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
insipx committed Dec 12, 2024
1 parent fd98665 commit 54cd430
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions common/src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ where
F: Fn() -> Fut,
Fut: Future<Output = Option<T>>,
{
crate::time::timeout(crate::time::Duration::from_secs(60), async {
crate::time::timeout(crate::time::Duration::from_secs(20), async {
loop {
if let Some(r) = f().await {
return r;
Expand All @@ -148,7 +148,7 @@ where
F: Fn() -> Fut,
Fut: Future<Output = Result<T, E>>,
{
crate::time::timeout(crate::time::Duration::from_secs(60), async {
crate::time::timeout(crate::time::Duration::from_secs(20), async {
loop {
if let Ok(r) = f().await {
return r;
Expand All @@ -166,7 +166,7 @@ where
Fut: Future<Output = T>,
T: std::fmt::Debug + PartialEq,
{
let result = crate::time::timeout(crate::time::Duration::from_secs(60), async {
let result = crate::time::timeout(crate::time::Duration::from_secs(20), async {
loop {
let result = f().await;
if expected == result {
Expand Down
2 changes: 1 addition & 1 deletion xmtp_mls/src/groups/device_sync/consent_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ pub(crate) mod tests {
.await
.unwrap();

// Wait up to 3 seconds for sync to process (typically is almost instant)
// Wait up to 20 seconds for sync to process (typically is almost instant)
xmtp_common::wait_for_eq(
|| {
let consent_b = amal_b.syncable_consent_records(amal_b_conn).unwrap().len();
Expand Down

0 comments on commit 54cd430

Please sign in to comment.