Skip to content

Commit

Permalink
SDSTOR-11576 test_vdev is using same file name as test_data_service w…
Browse files Browse the repository at this point in the history
…hich cause it to fail (#140)

* SDSTOR-11576 fix build issue with data service

* default option sanitize to true

* fix
  • Loading branch information
yamingk authored Aug 16, 2023
1 parent 73ab6ac commit 8c9476d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

class HomestoreConan(ConanFile):
name = "homestore"
version = "4.1.4"
version = "4.1.5"

homepage = "https://github.com/eBay/Homestore"
description = "HomeStore Storage Engine"
Expand Down
2 changes: 1 addition & 1 deletion src/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ if (${io_tests})
if(${epoll_tests})
add_test(NAME LogStore-Epoll COMMAND ${CMAKE_SOURCE_DIR}/test_wrap.sh ${CMAKE_BINARY_DIR}/bin/test_log_store)
add_test(NAME MetaBlkMgr-Epoll COMMAND ${CMAKE_SOURCE_DIR}/test_wrap.sh ${CMAKE_BINARY_DIR}/bin/test_meta_blk_mgr)
#add_test(NAME DataService-Epoll COMMAND ${CMAKE_SOURCE_DIR}/test_wrap.sh ${CMAKE_BINARY_DIR}/bin/test_data_service)
add_test(NAME DataService-Epoll COMMAND ${CMAKE_SOURCE_DIR}/test_wrap.sh ${CMAKE_BINARY_DIR}/bin/test_data_service)
endif()

can_build_spdk_io_tests(spdk_tests)
Expand Down
2 changes: 1 addition & 1 deletion src/tests/test_vdev.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class VDevIOTest : public ::testing::Test {
virtual void SetUp() override {
auto const ndevices = SISL_OPTIONS["num_devs"].as< uint32_t >();
auto const dev_size = SISL_OPTIONS["dev_size_mb"].as< uint64_t >() * 1024 * 1024;
test_common::HSTestHelper::start_homestore("test_data_service", 15.0, 0, 0, 0, 0, nullptr);
test_common::HSTestHelper::start_homestore("test_vdev", 15.0, 0, 0, 0, 0, nullptr);
m_vdev = std::make_unique< JournalVirtualDev >(hs()->device_mgr(), "test_vdev", PhysicalDevGroup::DATA,
(dev_size * ndevices * 60) / 100, 0 /* nmirror */,
true /* is_stripe */, 4096 /* blk_size */, nullptr, 0);
Expand Down

0 comments on commit 8c9476d

Please sign in to comment.