Skip to content

Commit 14fc36c

Browse files
committed
fix build on BUILD_PWAL=OFF
1 parent a780761 commit 14fc36c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/start/start_test.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ TEST_F(start_test, valid_recovery_invalid_log_directory) { // NOLINT
4444
fin();
4545
}
4646

47+
#ifdef PWAL
48+
4749
static limestone::api::configuration create_limestone_config(const std::string& path) {
4850
#if HAVE_LIMESTONE_CONFIG_CTOR_NONE && HAVE_LIMESTONE_CONFIG_SET_DATA_LOCATION_STDFSPATH
4951
auto limestone_config = limestone::api::configuration{};
@@ -73,4 +75,6 @@ TEST_F(start_test, error_when_borrow_ds_and_maintenance) { // NOLINT
7375
delete datastore;
7476
}
7577

78+
#endif
79+
7680
} // namespace shirakami::testing

0 commit comments

Comments
 (0)