diff --git a/src/script/src/test.rs b/src/script/src/test.rs index be1fd1d08f6b..c937c4afd215 100644 --- a/src/script/src/test.rs +++ b/src/script/src/test.rs @@ -1,3 +1,17 @@ +// Copyright 2023 Greptime Team +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::sync::Arc; use api::v1::greptime_request::Request; @@ -16,7 +30,7 @@ use table::test_util::MemTable; use crate::error::{Error, Result}; use crate::manager::ScriptManager; -/// Setup the scripts table +/// Setup the scripts table and create a script manager. pub async fn setup_scripts_manager( catalog: &str, schema: &str,