mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-06 21:32:58 +00:00
test: use EtcdStore in IT cases (#2734)
* test: use EtcdStore in IT cases Signed-off-by: tison <wander4096@gmail.com> * retrigger CI Signed-off-by: tison <wander4096@gmail.com> * refactor: KvPair can take etcd KeyValue Signed-off-by: tison <wander4096@gmail.com> * temporary use fork Signed-off-by: tison <wander4096@gmail.com> * drop cloned Signed-off-by: tison <wander4096@gmail.com> * chroot_key_value Signed-off-by: tison <wander4096@gmail.com> * chroot and prepend in each point Signed-off-by: tison <wander4096@gmail.com> * adjust call points Signed-off-by: tison <wander4096@gmail.com> * cargo clippy Signed-off-by: tison <wander4096@gmail.com> * point to upstream etcd-client Signed-off-by: tison <wander4096@gmail.com> * test etcd chroot Signed-off-by: tison <wander4096@gmail.com> * add NO_CHROOT constant Signed-off-by: tison <wander4096@gmail.com> * check Signed-off-by: tison <wander4096@gmail.com> * handle range end Signed-off-by: tison <wander4096@gmail.com> * handle special encoded key or range_end Signed-off-by: tison <wander4096@gmail.com> * fixup implementation Signed-off-by: tison <wander4096@gmail.com> * clippy Signed-off-by: tison <wander4096@gmail.com> * avoid test name conflict Signed-off-by: tison <wander4096@gmail.com> * chroot to kvbackend level Signed-off-by: tison <wander4096@gmail.com> * fixup all occurances Signed-off-by: tison <wander4096@gmail.com> * fix type Signed-off-by: tison <wander4096@gmail.com> * Update src/common/meta/src/kv_backend/txn.rs * make github happy --------- Signed-off-by: tison <wander4096@gmail.com> Co-authored-by: LFC <990479+MichaelScofield@users.noreply.github.com>
This commit is contained in:
@@ -89,7 +89,8 @@ pub async fn test_region_failover(store_type: StorageType) {
|
||||
let (store_config, _guard) = get_test_store_config(&store_type);
|
||||
|
||||
let datanodes = 5u64;
|
||||
let cluster = GreptimeDbClusterBuilder::new(cluster_name)
|
||||
let builder = GreptimeDbClusterBuilder::new(cluster_name).await;
|
||||
let cluster = builder
|
||||
.with_datanodes(datanodes as u32)
|
||||
.with_store_config(store_config)
|
||||
.build()
|
||||
|
||||
Reference in New Issue
Block a user