From e636c384a9559173a6ede28c6f336fd7d260e715 Mon Sep 17 00:00:00 2001 From: j-berman Date: Mon, 9 Sep 2024 16:29:36 -0700 Subject: [PATCH] fix ubuntu 20 compile --- tests/unit_tests/unit_tests_utils.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/unit_tests/unit_tests_utils.h b/tests/unit_tests/unit_tests_utils.h index 2ffa578fa..ab3b77889 100644 --- a/tests/unit_tests/unit_tests_utils.h +++ b/tests/unit_tests/unit_tests_utils.h @@ -125,8 +125,7 @@ namespace unit_test const std::string dest_path = m_temp_db_dir + temp_db_path.string(); CHECK_AND_ASSERT_THROW_MES(boost::filesystem::create_directories(dest_path), "failed to create new db dirs"); - CHECK_AND_ASSERT_THROW_MES(boost::filesystem::copy_file(lmdb_data_path, dest_path + "/data.mdb"), - "failed to copy db data"); + boost::filesystem::copy_file(lmdb_data_path, dest_path + "/data.mdb"); // Open db copy BlockchainLMDBTest *copy_db = new BlockchainLMDBTest(true/*is_copy*/);