Skip to content

Commit

Permalink
shorten log store test (#544)
Browse files Browse the repository at this point in the history
* horten log store test

* remove android in Setup Conan phrase
  • Loading branch information
JacksonYao287 authored Sep 12, 2024
1 parent 55f68a0 commit 2d3f7d4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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} \
Expand Down
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 1 addition & 3 deletions src/tests/test_log_store.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"));

Expand All @@ -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();
}

0 comments on commit 2d3f7d4

Please sign in to comment.