Skip to content

Commit

Permalink
Chore: increase timeout for example application. It tends to timeout …
Browse files Browse the repository at this point in the history
…in a CI
  • Loading branch information
drmingdrmer committed Nov 8, 2023
1 parent 872ef37 commit a52b627
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/raft-kv-rocksdb/tests/cluster/test_cluster.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ async fn test_cluster() -> Result<(), Box<dyn std::error::Error>> {
});

// Wait for server to start up.
async_std::task::sleep(Duration::from_millis(500)).await;
async_std::task::sleep(Duration::from_millis(1_000)).await;

// --- Create a client to the first node, as a control handle to the cluster.

Expand Down Expand Up @@ -172,7 +172,7 @@ async fn test_cluster() -> Result<(), Box<dyn std::error::Error>> {

// --- Wait for a while to let the replication get done.

async_std::task::sleep(Duration::from_millis(200)).await;
async_std::task::sleep(Duration::from_millis(500)).await;

// --- Read it on every node.

Expand Down Expand Up @@ -200,7 +200,7 @@ async fn test_cluster() -> Result<(), Box<dyn std::error::Error>> {
})
.await?;

async_std::task::sleep(Duration::from_millis(200)).await;
async_std::task::sleep(Duration::from_millis(500)).await;

// --- Read it on every node.

Expand Down

0 comments on commit a52b627

Please sign in to comment.