-
Notifications
You must be signed in to change notification settings - Fork 599
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(storage): move hummock tests to a new crate to break crate c…
…yclic dependency (#3795) * refactor(storage): move hummock tests to a new crate to break crate cyclic dependency * remove meta dependency for failpoint test * Update src/storage/hummock_test/src/vacuum_tests.rs Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * add workspace-hack to the new craet Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
- Loading branch information
1 parent
6170ff2
commit 7b544ad
Showing
20 changed files
with
585 additions
and
532 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[package] | ||
name = "risingwave_hummock_test" | ||
version = "0.1.10" | ||
edition = "2021" | ||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
bytes = { version = "1" } | ||
fail = "0.5" | ||
futures = { version = "0.3" } | ||
itertools = "0.10" | ||
rand = "0.8" | ||
risingwave_common = { path = "../../common" } | ||
risingwave_hummock_sdk = { path = "../hummock_sdk" } | ||
risingwave_meta = { path = "../../meta", features = ["test"] } | ||
risingwave_pb = { path = "../../prost" } | ||
risingwave_rpc_client = { path = "../../rpc_client" } | ||
risingwave_storage = { path = "..", features = ["test"] } | ||
tokio = { version = "=0.2.0-alpha.3", package = "madsim-tokio" } | ||
workspace-hack = { version = "0.1", path = "../../workspace-hack" } | ||
|
||
[features] | ||
failpoints = ["risingwave_storage/failpoints"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// Copyright 2022 Singularity Data | ||
// | ||
// 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. | ||
|
||
#[cfg(test)] | ||
mod compactor_tests; | ||
#[cfg(all(test, feature = "failpoints"))] | ||
mod failpoint_tests; | ||
#[cfg(test)] | ||
mod local_version_manager_tests; | ||
#[cfg(test)] | ||
mod snapshot_tests; | ||
#[cfg(test)] | ||
mod state_store_tests; | ||
#[cfg(test)] | ||
mod vacuum_tests; |
Oops, something went wrong.