1// Copyright 2025 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#![feature(proc_macro_hygiene, stmt_expr_attributes)]
15#![feature(custom_test_frameworks)]
16#![test_runner(risingwave_test_runner::test_runner::run_failpont_tests)]
17#![feature(type_alias_impl_trait)]
1819#[cfg(test)]
20mod compactor_tests;
21#[cfg(all(test, feature = "failpoints"))]
22mod failpoint_tests;
23#[cfg(test)]
24mod snapshot_tests;
25#[cfg(test)]
26mod state_store_tests;
27#[cfg(any(test, feature = "test"))]
28pub mod test_utils;
2930#[cfg(test)]
31mod hummock_read_version_tests;
3233#[cfg(test)]
34mod hummock_storage_tests;
35mod mock_notification_client;
36#[cfg(all(test, feature = "sync_point"))]
37mod sync_point_tests;
3839// Not feature gated by #[cfg(test)] because it is used by test binaries e.g. compaction_test,
40// not just tests.
41pub mod local_state_store_test_utils;
4243pub use mock_notification_client::get_notification_client_for_test;