Skip to content

Commit

Permalink
test: run custom endpoints integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
karenc-bq committed Jan 23, 2025
1 parent cf1f86f commit 1f11258
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
1 change: 1 addition & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
push:
branches:
- main
- test/custom-endpoints-integration-tests
pull_request:
branches:
- '*'
Expand Down
4 changes: 2 additions & 2 deletions driver/sliding_expiration_cache_with_clean_up_thread.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ class SLIDING_EXPIRATION_CACHE_WITH_CLEAN_UP_THREAD : public SLIDING_EXPIRATION_
SLIDING_EXPIRATION_CACHE_WITH_CLEAN_UP_THREAD() = default;
SLIDING_EXPIRATION_CACHE_WITH_CLEAN_UP_THREAD(std::shared_ptr<SHOULD_DISPOSE_FUNC<V>> should_dispose_func,
std::shared_ptr<ITEM_DISPOSAL_FUNC<V>> item_disposal_func)
: SLIDING_EXPIRATION_CACHE(std::move(should_dispose_func), std::move(item_disposal_func)){};
: SLIDING_EXPIRATION_CACHE<K, V>(std::move(should_dispose_func), std::move(item_disposal_func)){};
SLIDING_EXPIRATION_CACHE_WITH_CLEAN_UP_THREAD(std::shared_ptr<SHOULD_DISPOSE_FUNC<V>> should_dispose_func,
std::shared_ptr<ITEM_DISPOSAL_FUNC<V>> item_disposal_func,
long long clean_up_interval_nanos)
: SLIDING_EXPIRATION_CACHE(std::move(should_dispose_func), std::move(item_disposal_func),
: SLIDING_EXPIRATION_CACHE<K, V>(std::move(should_dispose_func), std::move(item_disposal_func),
clean_up_interval_nanos){};
~SLIDING_EXPIRATION_CACHE_WITH_CLEAN_UP_THREAD() = default;

Expand Down
7 changes: 1 addition & 6 deletions integration/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,9 @@ set(TEST_SOURCES
integration_test_utils.cc
integration_test_utils.h

base_failover_integration_test.cc
connection_string_builder_test.cc)
base_failover_integration_test.cc)
set(INTEGRATION_TESTS
custom_endpoint_integration_test.cc
iam_authentication_integration_test.cc
secrets_manager_integration_test.cc
network_failover_integration_test.cc
failover_integration_test.cc
)

if(NOT ENABLE_PERFORMANCE_TESTS)
Expand Down

0 comments on commit 1f11258

Please sign in to comment.