Skip to content

Commit

Permalink
roll back ci.toml
Browse files Browse the repository at this point in the history
Signed-off-by: Shanicky Chen <[email protected]>
  • Loading branch information
shanicky committed Nov 6, 2023
1 parent 7c52eb2 commit 651346d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/common/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ pub struct MetaConfig {
#[serde(default)]
pub disable_recovery: bool,

/// Whether to enable fail-on-recovery. Should only be used in e2e tests.
/// Whether to enable scale-in when recovery.
#[serde(default)]
pub enable_scale_in_when_recovery: bool,

Expand Down
4 changes: 2 additions & 2 deletions src/config/ci.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[meta]
disable_recovery = false
max_heartbeat_interval_secs = 10
disable_recovery = true
max_heartbeat_interval_secs = 600

[streaming]
in_flight_barrier_nums = 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,9 @@ use anyhow::Result;
use risingwave_simulation::cluster::{Cluster, Configuration};
use risingwave_simulation::ctl_ext::predicate::identity_contains;
use tokio::time::sleep;
use tracing_subscriber::EnvFilter;

#[tokio::test]
async fn test_scale_in_when_recovery() -> Result<()> {
_ = tracing_subscriber::fmt()
.with_env_filter(EnvFilter::from_default_env())
// no ANSI color codes when output to file
.with_ansi(console::colors_enabled_stderr() && console::colors_enabled())
.with_writer(std::io::stderr)
.try_init();

let config = Configuration::for_auto_scale();
let mut cluster = Cluster::start(config.clone()).await?;
let mut session = cluster.start_session();
Expand Down

0 comments on commit 651346d

Please sign in to comment.