Skip to content

Commit

Permalink
chore: increase sleep of mirroring tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fraidev committed Sep 26, 2024
1 parent ef486e0 commit 46421a8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/fluvio-sc/src/controllers/mirroring/controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ impl<C: MetadataItem> RemoteMirrorController<C> {
fn create_backoff() -> ExponentialBackoff {
ExponentialBackoffBuilder::default()
.min(Duration::from_secs(1))
.max(Duration::from_secs(30))
.max(Duration::from_secs(10))
.build()
.unwrap()
}
Expand Down
2 changes: 1 addition & 1 deletion crates/fluvio-spu/src/mirroring/remote/controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ where
fn create_backoff() -> ExponentialBackoff {
ExponentialBackoffBuilder::default()
.min(Duration::from_secs(1))
.max(Duration::from_secs(30))
.max(Duration::from_secs(10))
.build()
.unwrap()
}
Expand Down
4 changes: 2 additions & 2 deletions tests/cli/mirroring_smoke_tests/e2e/fluvio-core.bats
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ setup_file() {
}

@test "Home status at remote 1 should show the home cluster connected" {
sleep 15
sleep 40
run timeout 15s "$FLUVIO_BIN" home status

assert_success
Expand Down Expand Up @@ -165,7 +165,7 @@ setup_file() {
}

@test "Home status at remote 2 should show the home cluster connected" {
sleep 15
sleep 40
run timeout 15s "$FLUVIO_BIN" home status

assert_success
Expand Down

0 comments on commit 46421a8

Please sign in to comment.