Commit Graph

103 Commits

Author SHA1 Message Date
Jeremy Mikola
7c0ccd3e20 PHPC-1174: Upgrade bundled libmongoc to 1.10.0 2018-05-21 12:41:35 -04:00
Jeremy Mikola
ce45de41fa PHPC-1174: Bump libbson and libmongoc to 1.10.0-dev
This consolidates CFLAGS for bundled libraries, adds a new "common/" build path, and defines new constants as needed.
2018-05-18 11:45:35 -04:00
Jeremy Mikola
4d9dd87c2c Remove "build/" from autotools scripts path
GitHub's file finder filters out "build/" directories, among others, which can make it difficult to quickly access these files. Also, the "build/" directory doesn't provide much value here, since it only contains "autotools/".
2018-05-16 11:03:46 -04:00
Jeremy Mikola
746f92e948 Add CFLAGS directly instead of relying on PHP_EVAL_INCLINE 2018-05-14 18:22:23 -04:00
Jeremy Mikola
c0fc8dd783 PHPC-759: Fix pthread linking for static builds 2018-05-14 18:22:23 -04:00
Jeremy Mikola
dd36d744d9 PHPC-759: Flexible macros for adding sources, includes, and build paths 2018-05-14 17:59:01 -04:00
Jeremy Mikola
7d1de0d029 Move pthreads CFLAG/LIBS additions to AX_PTHREAD's action-if-found 2018-05-14 17:59:01 -04:00
Jeremy Mikola
c90422ce40 PHPC-1186: Consolidate libbson and libmongoc build configs 2018-05-10 11:11:30 -04:00
Jeremy Mikola
88bdd78f98 PHPC-1185: Warn for unrecognized mongodb-sasl values 2018-05-09 11:36:09 -04:00
Jeremy Mikola
aab92e1d3e PHPC-1185: Support GSSAPI via mongodb-sasl config option
While libmongoc's CheckSasl.m4 was able to detect Cyrus SASL 1.x, PHPC's config.m4 always required 2.x so we've not imported that bit.

This also prefers native GSSAPI on macOS over Cyrus SASL (PHPC-1142).
2018-05-09 11:36:09 -04:00
Derick Rethans
89e34e39f8 Merge branch 'v1.4' 2018-04-11 10:36:39 +01:00
Derick Rethans
cb81027747 PHPC-1156: Prefer Secure Transport over OpenSSL with --with-mongodb-ssl on Darwin 2018-04-11 10:36:10 +01:00
Jeremy Mikola
a71b440257 PHPC-1118: Require clang-format >= 6.0.0 2018-02-23 10:32:14 +00:00
Derick Rethans
125c99fb6a PHPC-1118: Add detection of the correct clang-format binary 2018-02-23 10:32:14 +00:00
Derick Rethans
4ccf3ae33a PHPC-1127: Remove old MO tests 2018-02-22 16:51:37 +00:00
Derick Rethans
0a5fd12e20 PHPC-1118: Implement use of clang-format 2018-02-20 17:06:55 +00:00
Derick Rethans
0002e2d37c Move crypto system profile flags below OpenSSL detection
This makes for more chronological configure output
2018-01-22 12:02:44 -05:00
Derick Rethans
c2988bb9a7 PHPC-888: Make sure you can only select "darwin" on macOS 2018-01-22 12:02:31 -05:00
Jeremy Mikola
d679bfe152 PHPC-888: Support additional TLS libraries for bundled libmongoc 2018-01-22 12:01:47 -05:00
Derick Rethans
d1563898e6 Disable tests for Int64 type that can not work on a 32-bit platform 2018-01-11 14:57:02 +00:00
Jeremy Mikola
6ca8c7fbc1 Remove redundant REPLICASET_36 mo environment 2018-01-08 10:28:56 -05:00
Jeremy Mikola
9812d6713e Upgrade VM to trusty64 and revise mo installation
This also removes unused server versions.
2018-01-08 10:28:56 -05:00
Jeremy Mikola
34e23e970f Fix whitespace 2018-01-08 10:28:56 -05:00
Derick Rethans
d981fff0d3 PHPC-1065: Enable BSON corpus tests for deprecated types 2018-01-03 10:31:52 +00:00
Jeremy Mikola
ccd938fe17 Remove traces of deprecated nohttpinterface CLI opt 2017-12-06 17:48:06 -05:00
Jeremy Mikola
324d969faf Bump 3.6.0-rc3 to 3.6.0 for Mongo Orchestration 2017-12-06 17:47:54 -05:00
Jeremy Mikola
401f46b515 Remove nohttpinterface from replicaset-dns MO configs
This option is no longer supported in 3.6 (see: #687)
2017-12-05 15:06:26 -05:00
Jeremy Mikola
d504bfea37 nohttpinterface is not supported by mongod 3.6
3.6 is the first and default release version in the MO config and specifying an unsupported command line options prevents the replicaset configuration from starting (in turn, start-servers.php fails).
2017-12-05 08:35:57 -05:00
Derick Rethans
fec7488dce PHPC-1015: Add test for DNS Initial Seedlist
We'll need to decide whether we want to always run this. Starting up a whole
replicaset for one test is a waste of resources really.
2017-12-05 10:36:20 +00:00
Derick Rethans
b3dcff2841 Fixed tests, as they need MongoDB 3.6 2017-11-23 17:47:37 +00:00
Derick Rethans
aa1eb0b8cd PHPC-1047: Add MongoDB 3.6 to test framework 2017-11-23 12:44:22 +00:00
Derick Rethans
14de1e3a35 PHPC-995: Drop support for MongoDB 2.4 2017-11-21 17:19:29 +00:00
Jeremy Mikola
58324ad627 PHPC-992: Rename extended JSON functions to[Canonical|Relaxed]ExtendedJSON() 2017-08-10 12:56:47 -04:00
Jeremy Mikola
98d3e02094 PHPC-941: Update BSON corpus tests for canonical and relaxed JSON
Generated from mongodb/specifications@f01908343f

Expected test failures are now defined in the generator script and have been updated for libbson changes.
2017-07-28 13:30:07 -04:00
Jeremy Mikola
0fd4ab4258 PHPC-977: Update BSON corpous tests
Generated from mongodb/specifications@7b5793561e
2017-07-11 11:39:44 -04:00
Derick Rethans
611b9f2fc7 PHPC-941: Use toExtendedJSON() for BSON corpus tests 2017-04-07 14:54:54 -04:00
Jeremy Mikola
56f3a9da74 PHPC-714: Script to convert BSON corpus tests 2017-01-13 15:05:41 -05:00
Hannes Magnusson
b6bbfd73a2 Accept MongoDB 3.2 package repo public keys on test VM 2015-12-11 14:41:15 -05:00
Jeremy Mikola
8e67243c12 Add MongoDB 3.0 replica set test environment 2015-12-10 12:16:36 -05:00
Jeremy Mikola
78c177c8e2 Use consistent name for MongoDB 3.0 test server 2015-12-09 13:03:03 -05:00
Jeremy Mikola
a504d059ec PHPC-450: Enable majority read concern by default in MO
See: 10gen/mongo-orchestration#207 and 10gen/mongo-orchestration#208
2015-12-08 14:54:55 -05:00
Jeremy Mikola
9584ba9b12 PHPC-450: Use MongoDB 3.2 final for testing 2015-12-08 14:54:52 -05:00
Jeremy Mikola
ae26929d63 Make server startup via MO more robust
Use a longer timeout when starting servers and dump failed HTTP response headers on error.
2015-12-08 14:50:26 -05:00
Jeremy Mikola
8c83588ac5 Register STANDALONE-3.0 with the test suite 2015-12-08 14:50:08 -05:00
Jeremy Mikola
e16b3cef37 STANDALONE-3.0 port conflicted with STANDALONE-2.4 2015-12-08 14:44:46 -05:00
Derick Rethans
18a437b9ac Added 3.2.0rc5 to our Mongo Orchestration suite 2015-12-08 16:49:54 +00:00
Jeremy Mikola
fe9fb63267 PHPC-465: Remove Manager's single write methods
Existing tests for single write methods were ported to executeBulkWrite() tests.
2015-10-21 19:32:42 -04:00
Jeremy Mikola
52dfd6b2d2 PHPC-444: Support options array in BulkWrite and executeInsert() 2015-10-15 15:44:17 -04:00
Jeremy Mikola
c682fd3a86 Increase mongo-orchestration HTTP timeout 2015-10-01 14:21:54 -04:00
Jeremy Mikola
a493b21467 Empty query results should still pass "find" phase in mo-tests
Some of the mo-tests issue find ops after restarting nodes, just as a test that a node is available to service the query. Simply testing that an exception is not thrown is suffcient.
2015-10-01 14:18:57 -04:00