Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CDRIVER-4497 CTest Test Fixtures for MongoDB Servers #1112

Open
wants to merge 69 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
020f0f6
warn-as-error implicit functions
vector-of-bool Sep 9, 2021
106a3d8
Some implicit fn decls
vector-of-bool Sep 9, 2021
c2f5ead
More warnings-as-errors
vector-of-bool Sep 9, 2021
b652301
MSVC fixes
vector-of-bool Oct 28, 2021
34ddd13
More warnings, and fixes for C-only warnings
vector-of-bool Oct 28, 2021
b42e604
return-type now always on
vector-of-bool Nov 8, 2021
5c1f027
Older-fashioned genex for CMake compatibility
vector-of-bool Nov 10, 2021
26deb3f
Conditional COMPILE_LANGUAGE usage
vector-of-bool Nov 10, 2021
354abb8
Merge branch 'master' into error-warnings-1
vector-of-bool Nov 10, 2021
ae4dcee
Pull unified spec tests from DRIVERS-823
vector-of-bool Nov 16, 2021
5655780
Conditional test registration
vector-of-bool Nov 16, 2021
032fd16
Merge branch 'master' into error-warnings-1
vector-of-bool Nov 16, 2021
e5acd64
Fixed differing warning options between GNU and Clang
vector-of-bool Nov 16, 2021
ee5d5e3
Merge branch 'error-warnings-1' into CDRIVER-3893-merge-out-exec-on-s…
vector-of-bool Nov 16, 2021
0984e34
Allow readPreference:secondary with $merge and $out.
vector-of-bool Nov 18, 2021
d27ca84
Fix trace log variable reference
vector-of-bool Dec 1, 2021
7566753
Initial support for automatic server test fixtures
vector-of-bool Dec 2, 2021
f1be019
Pass around the effectively chosen read mode used in server selection…
vector-of-bool Dec 3, 2021
1bca4e1
Merge branch 'master' into CDRIVER-3893-merge-out-exec-on-secondaries
vector-of-bool Dec 3, 2021
6e34539
Merge remote-tracking branch 'upstream/master' into CDRIVER-3893-merg…
vector-of-bool Dec 3, 2021
493db9b
effective read mode for a write operation is null
vector-of-bool Dec 3, 2021
556f121
Fix null deref when failing to recreate a server stream from a remove…
vector-of-bool Dec 3, 2021
f725afa
test_aggregate_is_sent_to_primary_w_dollar_out is no longer applicable
vector-of-bool Dec 3, 2021
c7713d0
Fix missing param to stream_for_reads
vector-of-bool Dec 3, 2021
6bf1d02
Wrong param type
vector-of-bool Dec 3, 2021
d3e4aa8
'default' case for optype handling
vector-of-bool Dec 13, 2021
e53fa76
Add "meta" to all test cases, for use with test setup
vector-of-bool Dec 14, 2021
7748015
Merge remote-tracking branch 'upstream/master' into mdb-server-test-f…
vector-of-bool Dec 15, 2021
a8c6fcd
Add a 'uses-live-server' meta tag to identify which tests need a live…
vector-of-bool Dec 15, 2021
4b8241e
Merge branch 'master' into CDRIVER-3893-merge-out-exec-on-secondaries
vector-of-bool Dec 15, 2021
8b72c9c
Merge branch 'master' into CDRIVER-3893-merge-out-exec-on-secondaries
vector-of-bool Jan 5, 2022
e77a13e
Update doc func name
vector-of-bool Jan 5, 2022
48c5077
Some GCC versions emit an uninit warning
vector-of-bool Jan 5, 2022
285cd82
No magic zero
vector-of-bool Jan 6, 2022
d97fead
Fix duplicate doc comments
vector-of-bool Jan 6, 2022
c0692eb
Consolidate duplicate state in suitable_servers()
vector-of-bool Jan 6, 2022
fa4e531
Less magic numbers
vector-of-bool Jan 6, 2022
1e5d039
Unhandled switch cases
vector-of-bool Jan 6, 2022
dcccaf1
Merge branch 'CDRIVER-3893-merge-out-exec-on-secondaries' into mdb-se…
vector-of-bool Jan 6, 2022
79d8c7e
Better commentary about what is happening with effective read mode
vector-of-bool Jan 6, 2022
50d5d68
Make bool-to-binary-enum conversion explicit
vector-of-bool Jan 7, 2022
0e2d04a
Clarify wire version checks
vector-of-bool Jan 14, 2022
bb4f07b
Use 'bool' instead of enum types to represent forced read mode
vector-of-bool Jan 14, 2022
a9c2282
Remove refernce to "effective read moe"
vector-of-bool Jan 19, 2022
5b5a488
Fix bool-to-enum conversion in server selection
vector-of-bool Jan 19, 2022
8d0bd0f
Merge branch 'CDRIVER-3893-merge-out-exec-on-secondaries' into mdb-se…
vector-of-bool Jan 21, 2022
2754eb2
Doc comment in mdb-ctl
vector-of-bool Jan 25, 2022
1b433e0
Support replSet test fixtures
vector-of-bool Jan 25, 2022
e065ea6
With Python instead
vector-of-bool Jan 26, 2022
494d1fb
Merge branch 'master' into mdb-server-test-fixtures
vector-of-bool Jan 31, 2022
0496e7a
Sharded test fixtures
vector-of-bool Feb 1, 2022
2ce431e
Merge branch 'master' into mdb-server-test-fixtures
vector-of-bool Apr 22, 2022
25d90a9
Merge branch 'master' into mdb-server-test-fixtures
vector-of-bool Jun 3, 2022
ac41e86
Python 3.5 compat for fake_azure
vector-of-bool Sep 27, 2022
c40539a
proc-ctl controls child processes
vector-of-bool Sep 27, 2022
0daee53
Reorder test cases to behave better with Bottle
vector-of-bool Sep 27, 2022
2a5c648
Defining CTest fixtures, including a fake IMDS server
vector-of-bool Sep 27, 2022
f9f3574
Missing dist file
vector-of-bool Sep 27, 2022
f0b4b7b
Merge remote-tracking branch 'upstream/master' into mdb-server-test-f…
vector-of-bool Sep 28, 2022
4a19900
Merge branch 'proc-ctl.py' into mdb-server-test-fixtures
vector-of-bool Sep 28, 2022
108f797
Tweaks:
vector-of-bool Sep 28, 2022
ce850b1
Merge branch 'proc-ctl.py' into mdb-server-test-fixtures
vector-of-bool Sep 28, 2022
20311d3
Update "meta" string on all tests
vector-of-bool Sep 29, 2022
775ba52
"Finish" mdb-ctl.py and the CTest fixture helpers.
vector-of-bool Sep 30, 2022
3ef2db4
Merge branch 'master' into mdb-server-test-fixtures
vector-of-bool Sep 30, 2022
c3e7a0a
Missed a conditionally-defined test
vector-of-bool Sep 30, 2022
6e8d9a8
Too many args there
vector-of-bool Sep 30, 2022
06a681b
Missing dist listings
vector-of-bool Sep 30, 2022
853fab4
Use FPHSA.cmake
vector-of-bool Sep 30, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -92,6 +92,8 @@ endif ()
# Enable sanitizers
include (Sanitizers)

find_package (MongoDB)

set (BUILD_VERSION "0.0.0" CACHE STRING "Library version (for both libbson and libmongoc)")

include (ParseVersion)
@@ -225,6 +227,7 @@ include (MakeDistFiles)
include (CTest)
if (BUILD_TESTING)
include (TestFixtures)
include (build/cmake/TweakMeServerFixtures.cmake)
endif ()

# Ensure the default behavior: don't ignore RPATH settings.
2 changes: 2 additions & 0 deletions build/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -7,6 +7,8 @@ set_local_dist (build_DIST_local
generate-uninstall.cmd
generate-uninstall.sh
mongodl.py
proc_ctl.py
mdb-ctl.py
)

set (build_DIST
3 changes: 3 additions & 0 deletions build/cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@ add_subdirectory (make_dist)

set (build_cmake_MODULES
CheckSchedGetCPU.cmake
FindMongoDB.cmake
FindResSearch.cmake
FindSASL2.cmake
FindSnappy.cmake
@@ -15,7 +16,9 @@ set (build_cmake_MODULES
Sanitizers.cmake
CCache.cmake
LLDLinker.cmake
QuickFixtures.cmake
TestFixtures.cmake
TweakMeServerFixtures.cmake
)

set_local_dist (build_cmake_DIST_local
Loading
Oops, something went wrong.