MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / disable_feature_flags

Method disable_feature_flags

src/environmentd/src/test_util.rs:968–975  ·  view source on GitHub ↗
(&self, flags: &[&'static str])

Source from the content-addressed store, hash-verified

966 }
967
968 pub async fn disable_feature_flags(&self, flags: &[&'static str]) {
969 let internal_client = self.connect().internal().await.unwrap();
970
971 for flag in flags {
972 let query = sql!("ALTER SYSTEM SET {} = false;", Sql::ident(flag));
973 pg_batch_execute(&internal_client, query).await.unwrap();
974 }
975 }
976
977 pub fn ws_addr(&self) -> Uri {
978 format!(

Callers 3

test_github_25388Function · 0.80
test_expected_spansFunction · 0.80

Calls 7

unwrapMethod · 0.80
batch_executeMethod · 0.80
pg_batch_executeFunction · 0.50
internalMethod · 0.45
connectMethod · 0.45
connect_internalMethod · 0.45
as_strMethod · 0.45

Tested by

no test coverage detected