Skip to content

CXXCBC-731: Correctly apply the wan_development profile in tests when required#835

Merged
avsej merged 1 commit intocouchbase:mainfrom
DemetrisChr:CXXCBC-731-wan-development-tests
Sep 23, 2025
Merged

CXXCBC-731: Correctly apply the wan_development profile in tests when required#835
avsej merged 1 commit intocouchbase:mainfrom
DemetrisChr:CXXCBC-731-wan-development-tests

Conversation

@DemetrisChr
Copy link
Copy Markdown
Contributor

Motivation

Many tests create cluster connection by using couchbase::cluster::connect directly. test_context::build_options() is also not applying the wan_development profile when the env variable is set. This can lead to timeouts when running tests in slow environments (e.g. valgrind)

Changes

  • Update tests to access Public API cluster via integration_test_guard::public_cluster() wherever possible
  • Update test_context::build_options() to correctly check for the WAN developement env variable, so that clusters created via public_cluster() have it.
  • Update tests that need to use couchbase::cluster::connect directly to apply the profile when needed.

@avsej avsej merged commit dbdb132 into couchbase:main Sep 23, 2025
24 of 27 checks passed
@DemetrisChr DemetrisChr deleted the CXXCBC-731-wan-development-tests branch September 23, 2025 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants