Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
zwang28 committed May 15, 2024
1 parent 8a9b4a8 commit 723e23a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/tests/simulation/tests/integration_tests/batch/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,18 @@ fn cluster_config_no_compute_nodes() -> Configuration {
file.write_all(
"\
[meta]
max_heartbeat_interval_secs = 60
max_heartbeat_interval_secs = 300
[system]
barrier_interval_ms = 1000
checkpoint_frequency = 1
[server]
telemetry_enabled = false
metrics_level = \"Disabled\"
metrics_level = \"Disabled\"\
[batch]
mask_worker_temporary_secs = 30
"
.as_bytes(),
)
Expand Down Expand Up @@ -163,7 +166,7 @@ async fn test_serving_cluster_availability() {
tokio::time::sleep(Duration::from_secs(15)).await;
query_and_assert(session.clone()).await;
// wait for mask expire
tokio::time::sleep(Duration::from_secs(30)).await;
tokio::time::sleep(Duration::from_secs(60)).await;
session.run(select).await.unwrap_err();
// wait for previous nodes expire
tokio::time::sleep(Duration::from_secs(300)).await;
Expand Down

0 comments on commit 723e23a

Please sign in to comment.