Skip to content

Commit

Permalink
Maybe we look like a robot?
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Shadle committed Jun 16, 2021
1 parent abc650e commit 0ebd1cd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/activity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,6 @@ async fn test_activity() {
let one = one.discord;
let two = two.discord;

// wait a few seconds on windows, just to see if it's because of slow I/O?
#[cfg(windows)]
{
tokio::time::sleep(std::time::Duration::from_secs(2)).await;
}

let party_id = "partyfun123";
tracing::info!(
"1 => updating activity: {:#?}",
Expand All @@ -80,6 +74,12 @@ async fn test_activity() {
.expect("failed to update presence")
);

// wait a few seconds on windows, just to see if it's because of slow I/O?
#[cfg(windows)]
{
tokio::time::sleep(std::time::Duration::from_secs(2)).await;
}

tracing::info!("1 => inviting {}", two_user);
one.invite_user(
two_user.id,
Expand Down

0 comments on commit 0ebd1cd

Please sign in to comment.