Skip to content

Commit

Permalink
i sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
bragov4ik committed Feb 17, 2025
1 parent 6686e78 commit 552ec2b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pub async fn run_fully_initialized_stats_tests() {
Some(healthcheck_successful),
)
.await;
sleep(Duration::from_secs(1)).await;
sleep(Duration::from_secs(10)).await;
wait_for_subset_to_update(&base, ChartSubset::AllCharts).await;

let tests: JoinSet<_> = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pub async fn run_chart_pages_tests_with_disabled_arbitrum() {
Some(healthcheck_successful),
)
.await;
sleep(Duration::from_secs(1)).await;
sleep(Duration::from_secs(10)).await;
wait_for_subset_to_update(&base, ChartSubset::AllCharts).await;

let tests: JoinSet<_> = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ pub async fn run_tests_with_nothing_indexed() {
Some(healthcheck_successful),
)
.await;
sleep(Duration::from_secs(1)).await;
sleep(Duration::from_secs(10)).await;
wait_for_subset_to_update(&base, ChartSubset::Independent).await;

// these pages must be available right away to display users
Expand Down Expand Up @@ -113,10 +113,10 @@ pub async fn run_tests_with_user_ops_not_indexed() {
Some(healthcheck_successful),
)
.await;
sleep(Duration::from_secs(1)).await;
sleep(Duration::from_secs(10)).await;
println!("waiting for subset update");
wait_for_subset_to_update(&base, ChartSubset::InternalTransactionsDependent).await;
sleep(Duration::from_secs(1)).await;
sleep(Duration::from_secs(10)).await;

println!("testing");
// these pages must be available right away to display users
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ pub async fn run_tests_with_charts_not_updated() {
Some(healthcheck_successful),
)
.await;
sleep(Duration::from_secs(1)).await;
sleep(Duration::from_secs(10)).await;

test_lines_counters_not_updated_ok(base).await
}
Expand Down

0 comments on commit 552ec2b

Please sign in to comment.