Skip to content

Commit

Permalink
refactor: rename to create_logical_tables_metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
WenyXu committed Feb 20, 2024
1 parent 963bd1c commit 43f12cc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/common/meta/src/ddl/tests/create_logical_tables.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ async fn test_on_prepare_logical_table_exists_err() {
task.set_table_id(1025);
ddl_context
.table_metadata_manager
.create_logic_tables_metadata(vec![(
.create_logical_tables_metadata(vec![(
task.table_info.clone(),
TableRouteValue::logical(1024, vec![RegionId::new(1025, 1)]),
)])
Expand Down Expand Up @@ -273,7 +273,7 @@ async fn test_on_prepare_with_create_if_table_exists() {
task.set_table_id(8192);
ddl_context
.table_metadata_manager
.create_logic_tables_metadata(vec![(
.create_logical_tables_metadata(vec![(
task.table_info.clone(),
TableRouteValue::logical(1024, vec![RegionId::new(8192, 1)]),
)])
Expand Down Expand Up @@ -321,7 +321,7 @@ async fn test_on_prepare_part_logical_tables_exist() {
task.set_table_id(8192);
ddl_context
.table_metadata_manager
.create_logic_tables_metadata(vec![(
.create_logical_tables_metadata(vec![(
task.table_info.clone(),
TableRouteValue::logical(1024, vec![RegionId::new(8192, 1)]),
)])
Expand Down Expand Up @@ -442,7 +442,7 @@ async fn test_on_create_metadata_part_logical_tables_exist() {
task.set_table_id(8192);
ddl_context
.table_metadata_manager
.create_logic_tables_metadata(vec![(
.create_logical_tables_metadata(vec![(
task.table_info.clone(),
TableRouteValue::logical(1024, vec![RegionId::new(8192, 1)]),
)])
Expand Down Expand Up @@ -521,7 +521,7 @@ async fn test_on_create_metadata_err() {
task.table_info.ident.table_id = 1025;
ddl_context
.table_metadata_manager
.create_logic_tables_metadata(vec![(
.create_logical_tables_metadata(vec![(
task.table_info,
TableRouteValue::logical(512, vec![RegionId::new(1026, 1)]),
)])
Expand Down

0 comments on commit 43f12cc

Please sign in to comment.