tests: fix warnings exposed by -Werror and a non-recursive Storage copy

This commit is contained in:
faumaray committed 2026-12-03 17:37:14 +03:00
1 parent 2c8d853af0
commit 92d60231e5
5 files changed
+10 -18

No files matched your search

+2 -1
View File
@@ -441,7 +441,8 @@ Void::Testing::Test storage_wal_recovery_byte_truncation_corruption_and_rotation
{
TempStorageDir bad_dir;
std::filesystem::copy(base_dir.path, bad_dir.path,
std::filesystem::copy_options::overwrite_existing);
std::filesystem::copy_options::recursive |
std::filesystem::copy_options::overwrite_existing);
(void)std::filesystem::remove(bad_dir.path / "LOCK");
{
auto port = make_posix_file_port();