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, stmt_expr_attributes)]
16#![feature(custom_test_frameworks)]
17#![test_runner(risingwave_test_runner::test_runner::run_failpont_tests)]
18#![feature(type_alias_impl_trait)]
19
20#[cfg(test)]
21mod auto_rebuild_iter_tests;
22#[cfg(test)]
23mod compactor_tests;
24#[cfg(all(test, feature = "failpoints"))]
25mod failpoint_tests;
26#[cfg(test)]
27mod snapshot_tests;
28#[cfg(test)]
29mod state_store_tests;
30#[cfg(any(test, feature = "test"))]
31pub mod test_utils;
32
33#[cfg(test)]
34mod hummock_read_version_tests;
35
36#[cfg(test)]
37mod hummock_storage_tests;
38
39#[cfg(test)]
40mod hummock_vector_tests;
41
42mod mock_notification_client;
43#[cfg(all(test, feature = "sync_point"))]
44mod sync_point_tests;
45
46// Not feature gated by #[cfg(test)] because it is used by test binaries e.g. compaction_test,
47// not just tests.
48pub mod local_state_store_test_utils;
49
50pub use mock_notification_client::get_notification_client_for_test;