Skip to main content

risingwave_hummock_test/
lib.rs

1// Copyright 2022 RisingWave Labs
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15#![feature(proc_macro_hygiene)]
16#![feature(custom_test_frameworks)]
17#![test_runner(risingwave_test_runner::test_runner::run_failpont_tests)]
18
19#[cfg(test)]
20mod auto_rebuild_iter_tests;
21#[cfg(test)]
22mod compactor_tests;
23#[cfg(all(test, feature = "failpoints"))]
24mod failpoint_tests;
25#[cfg(test)]
26mod snapshot_tests;
27#[cfg(test)]
28mod state_store_tests;
29#[cfg(any(test, feature = "test"))]
30pub mod test_utils;
31
32#[cfg(test)]
33mod hummock_read_version_tests;
34
35#[cfg(test)]
36mod hummock_storage_tests;
37
38#[cfg(test)]
39mod hummock_vector_tests;
40
41mod mock_notification_client;
42#[cfg(all(test, feature = "sync_point"))]
43mod sync_point_tests;
44
45// Not feature gated by #[cfg(test)] because it is used by test binaries e.g. compaction_test,
46// not just tests.
47pub mod local_state_store_test_utils;
48
49pub use mock_notification_client::get_notification_client_for_test;