From 2d3f7d44a17f9281308b0f89320299d9c136ec63 Mon Sep 17 00:00:00 2001 From: Jie Yao Date: Fri, 13 Sep 2024 00:47:41 +0800 Subject: [PATCH] shorten log store test (#544) * horten log store test * remove android in Setup Conan phrase --- .github/workflows/build_dependencies.yml | 2 +- conanfile.py | 2 +- src/tests/test_log_store.cpp | 4 +--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_dependencies.yml b/.github/workflows/build_dependencies.yml index a4f845158..1e73061a1 100644 --- a/.github/workflows/build_dependencies.yml +++ b/.github/workflows/build_dependencies.yml @@ -155,6 +155,7 @@ jobs: - name: Export Recipes run: | sudo apt-get install -y python3-pyelftools libaio-dev + sudo rm -rf $ANDROID_HOME python -m pip install pyelftools conan export import/iomgr oss/master conan export import/nuraft_mesg oss/main @@ -165,7 +166,6 @@ jobs: - name: Build Cache run: | pre=$([[ "${{ inputs.build-type }}" != "Debug" ]] && echo "-o sisl:prerelease=${{ inputs.prerelease }}" || echo "") - sudo rm -rf $ANDROID_HOME conan install \ -c tools.build:skip_test=True \ ${pre} \ diff --git a/conanfile.py b/conanfile.py index d8f6720b1..58a90d8d5 100644 --- a/conanfile.py +++ b/conanfile.py @@ -9,7 +9,7 @@ class HomestoreConan(ConanFile): name = "homestore" - version = "6.4.57" + version = "6.4.58" homepage = "https://github.com/eBay/Homestore" description = "HomeStore Storage Engine" diff --git a/src/tests/test_log_store.cpp b/src/tests/test_log_store.cpp index 6e1b6234c..3b1b2c60b 100644 --- a/src/tests/test_log_store.cpp +++ b/src/tests/test_log_store.cpp @@ -1266,7 +1266,7 @@ SISL_OPTION_GROUP(test_log_store, "number of log stores in all, they will spread to each logdev evenly", ::cxxopts::value< uint32_t >()->default_value("16"), "number"), (num_records, "", "num_records", "number of record to test", - ::cxxopts::value< uint32_t >()->default_value("10000"), "number"), + ::cxxopts::value< uint32_t >()->default_value("1000"), "number"), (iterations, "", "iterations", "Iterations", ::cxxopts::value< uint32_t >()->default_value("1"), "the number of iterations to run each test")); @@ -1276,7 +1276,5 @@ int main(int argc, char* argv[]) { SISL_OPTIONS_LOAD(parsed_argc, argv, logging, test_log_store, iomgr, test_common_setup); sisl::logging::SetLogger("test_log_store"); spdlog::set_pattern("[%D %T%z] [%^%l%$] [%t] %v"); - sisl::logging::SetModuleLogLevel("logstore", spdlog::level::level_enum::trace); - sisl::logging::SetModuleLogLevel("journalvdev", spdlog::level::level_enum::debug); return RUN_ALL_TESTS(); }