Skip to content

Commit

Permalink
test: increase etcd pagination test retries
Browse files Browse the repository at this point in the history
Not sure why this is starting to fail now... even on an unchanged
release branch it's failing now!?

Signed-off-by: Tiago Castro <[email protected]>
  • Loading branch information
tiagolobocastro committed Nov 25, 2024
1 parent 1f638e3 commit 8caf2a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion control-plane/agents/src/bin/core/tests/controller/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use stor_port::{
};

use serde_json::Value;
use std::str::FromStr;
use std::{str::FromStr, time::Duration};
use uuid::Uuid;

/// Test that the content of the registry is correctly loaded from the persistent store on start up.
Expand Down Expand Up @@ -225,6 +225,7 @@ async fn etcd_pagination() {
.with_rest(false)
.with_jaeger(false)
.with_store_lease_ttl(lease_ttl)
.with_req_timeouts(Duration::from_millis(200), Duration::from_millis(200))
.build()
.await
.unwrap();
Expand Down
2 changes: 1 addition & 1 deletion utils/deployer-cluster/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ impl Cluster {
Some(opts) => opts,
None => TimeoutOptions::new()
.with_req_timeout(Duration::from_millis(500))
.with_max_retries(10),
.with_max_retries(20),
};
for x in 1 .. timeout_opts.max_retries().unwrap_or_default() {
match client
Expand Down

0 comments on commit 8caf2a6

Please sign in to comment.