Skip to content

Commit

Permalink
Merge pull request #926 from drmingdrmer/45-fix-rocksdb-example
Browse files Browse the repository at this point in the history
Chore: increase timeout for example application. It tends to timeout in a CI
  • Loading branch information
drmingdrmer authored Nov 8, 2023
2 parents 872ef37 + a52b627 commit 85719cc
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 85719cc

Please sign in to comment.