mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-08-25 07:28:39 +00:00
fix: adapt frontend event context tests
Signed-off-by: discord9 <discord9@163.com>
This commit is contained in:
@@ -1675,7 +1675,9 @@ mod tests {
|
||||
use std::time::Duration;
|
||||
|
||||
use api::prom_store::remote::label_matcher::Type as PromMatcherType;
|
||||
use api::prom_store::remote::{LabelMatcher, Query as RemoteQuery, ReadRequest};
|
||||
use api::prom_store::remote::{
|
||||
Label, LabelMatcher, Query as RemoteQuery, ReadRequest, ReadResponse, Sample,
|
||||
};
|
||||
use api::v1::greptime_request::Request;
|
||||
use api::v1::meta::{ProcedureDetailResponse, ReconcileRequest, ReconcileResponse};
|
||||
use api::v1::query_request::Query;
|
||||
@@ -2357,7 +2359,7 @@ mod tests {
|
||||
impl ProcedureExecutor for MockProcedureExecutor {
|
||||
async fn submit_ddl_task(
|
||||
&self,
|
||||
_ctx: &ExecutorContext,
|
||||
_ctx: ExecutorContext,
|
||||
request: SubmitDdlTaskRequest,
|
||||
) -> common_meta::error::Result<SubmitDdlTaskResponse> {
|
||||
self.submitted.lock().unwrap().push(request.task.clone());
|
||||
|
||||
Reference in New Issue
Block a user