fix: add standalone flag in standalone tests (#8100)

* fix: test

Signed-off-by: shuiyisong <xixing.sys@gmail.com>

* fix: fmt and cargo.lock

Signed-off-by: shuiyisong <xixing.sys@gmail.com>

---------

Signed-off-by: shuiyisong <xixing.sys@gmail.com>
This commit is contained in:
shuiyisong
2026-05-12 18:43:57 +08:00
committed by GitHub
parent 7d330cc4e6
commit dd420e33fe
3 changed files with 4 additions and 0 deletions

1
Cargo.lock generated
View File

@@ -14098,6 +14098,7 @@ dependencies = [
"common-grpc",
"common-memory-manager",
"common-meta",
"common-options",
"common-procedure",
"common-procedure-test",
"common-query",

View File

@@ -39,6 +39,7 @@ common-frontend.workspace = true
common-grpc.workspace = true
common-memory-manager.workspace = true
common-meta = { workspace = true, features = ["testing"] }
common-options.workspace = true
common-procedure.workspace = true
common-query.workspace = true
common-recordbatch.workspace = true

View File

@@ -37,6 +37,7 @@ use common_frontend::slow_query_event::{
SLOW_QUERY_TABLE_NAME, SLOW_QUERY_TABLE_QUERY_COLUMN_NAME,
};
use common_memory_manager::OnExhaustedPolicy;
use common_options::plugin_options::StandaloneFlag;
use flate2::Compression;
use flate2::write::GzEncoder;
use log_query::{Context, Limit, LogQuery, TimeFilter};
@@ -283,6 +284,7 @@ pub async fn test_http_auth_from_standalone_user_provider_config() {
let fe_opts = options.component.frontend_options();
let mut plugins = Plugins::new();
plugins.insert(StandaloneFlag);
plugins::setup_frontend_plugins(&mut plugins, &[], &fe_opts)
.await
.unwrap();