mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-27 02:10:38 +00:00
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:
1
Cargo.lock
generated
1
Cargo.lock
generated
@@ -14098,6 +14098,7 @@ dependencies = [
|
||||
"common-grpc",
|
||||
"common-memory-manager",
|
||||
"common-meta",
|
||||
"common-options",
|
||||
"common-procedure",
|
||||
"common-procedure-test",
|
||||
"common-query",
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user