chore: meta mock test (#379)

* chore: meta mock

* chore: refacor datanode selector

* chore: create route mock test

* chore: add mock module

* chore: memory store for test

* chore: mock meta for test

* chore: ensure memorysotre has the same behavious with etcd

* chore: replace tokio lock to parking_lot
This commit is contained in:
Jiachun Feng
2022-11-03 18:33:29 +08:00
committed by GitHub
parent 750310c648
commit e19b63f4f5
20 changed files with 870 additions and 98 deletions

View File

@@ -74,7 +74,7 @@ async fn run() {
value_list: vec![b"Max1".to_vec(), b"Max2".to_vec()],
};
let table_name = TableName::new("test_catlog", "test_schema", "test_table");
let table_name = TableName::new("test_catalog", "test_schema", "test_table");
let create_req = CreateRequest::new(table_name)
.add_partition(p1)