Jeremy Mikola
83f333065e
LibreSSL cannot extract username subject from X509 certs
2018-01-22 12:01:47 -05:00
Derick Rethans
d0d3cc7f96
Ensure these tests only run with wiredTiger engine
2018-01-12 11:55:41 +00:00
Derick Rethans
1e06f3428f
Replace check for 'TRAVIS' with MongoDB server version check
2018-01-12 11:55:41 +00:00
Jeremy Mikola
f21ef4d963
Add REPLICASET_DNS to basic.inc servers array
2018-01-08 10:28:56 -05: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
ecaeb2c1a2
Replace tabs with spaces in test files
2017-12-12 08:17:59 -05:00
Derick Rethans
c1b85e814b
Catch exceptions, so that we can still test writeConcern with ping
2017-11-29 16:33:30 +00:00
Derick Rethans
b2e90bbc65
Add test cases
2017-11-29 13:07:13 +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
65f5091010
PHPC-941: Add MongoDB\BSON\toCanonicalJSON() and toRelaxedJSON()
...
In CDRIVER-2208, bson_as_json() (used by toJSON()) was reverted to its original output format. Canonical and relaxed extended JSON are now produced by bson_as_canonical_json() and bson_as_relaxed_json(), respectively. This commit removes toExtendedJSON() (added in 980f1fb01a ) in favor of the new functions.
Implementations for the BSON functions have been moved to their own file, which is consistent with what we're doing for the APM subscriber functions.
2017-07-28 13:30:06 -04:00
Derick Rethans
611b9f2fc7
PHPC-941: Use toExtendedJSON() for BSON corpus tests
2017-04-07 14:54:54 -04:00
Jeremy Mikola
3736c23bbb
Add missing REPLICASET_30 environment in basic.inc
2017-03-15 10:38:06 -04:00
Jeremy Mikola
56f3a9da74
PHPC-714: Script to convert BSON corpus tests
2017-01-13 15:05:41 -05:00
Jeremy Mikola
a6e7202498
PHPC-761: Remove BSON_NAMESPACE constant
2016-08-05 14:06:58 -04:00
Jeremy Mikola
7f485f921e
PHPC-761: Tests can rely on MongoDB\BSON namespace
2016-08-05 14:06:58 -04:00
Jeremy Mikola
44ee3a346a
PHPC-450: failReceivedGetmore does not support getMore commands
...
The fail point used in this test does not yet support 3.2's getMore command, so this must be run on 3.0 (or earlier). See: SERVER-21831
This change also splits the test into query/command variants, corrects the title (which was apparently copied from cursor-getmore-004.phpt), and removes the use of data fixtures (small documents inserted within the test work just fine for its purposes).
2015-12-10 12:16:36 -05:00
Jeremy Mikola
8c83588ac5
Register STANDALONE-3.0 with the test suite
2015-12-08 14:50:08 -05:00
Derick Rethans
206ea284ab
This code has changed in 3.2, and make the error message clear
2015-12-08 16:49:54 +00:00
Jeremy Mikola
52dfd6b2d2
PHPC-444: Support options array in BulkWrite and executeInsert()
2015-10-15 15:44:17 -04:00
Jeremy Mikola
69bff6b039
Use versioned URI for mongo-orchestration
2015-10-01 14:22:19 -04:00
Jeremy Mikola
c682fd3a86
Increase mongo-orchestration HTTP timeout
2015-10-01 14:21:54 -04:00
Derick Rethans
59b8ea09cc
Better messages for when things go wrong with exceptions
2015-09-22 11:01:57 -04:00
Hannes Magnusson
eac3a2d7da
Merge pull request #82 from derickr/test-name-and-servers
...
Allow for PHONGO-SERVERS.json in ~ (and fix a test case name)
* derickr/test-name-and-servers:
Do this with an env var instead
Allow for PHONGO-SERVERS.json in ~ (and fix a test case name)
2015-08-20 08:18:59 -07:00
Derick Rethans
1b2f920d3d
Do this with an env var instead
2015-08-20 11:10:36 +01:00
Jeremy Mikola
b1e882eeb0
Fix str_replace() newline replacement
...
Fixes e333fc0357
2015-08-19 13:47:40 -04:00
Derick Rethans
ae0cfeae20
Allow for PHONGO-SERVERS.json in ~ (and fix a test case name)
2015-08-19 16:56:19 +01:00
Jeremy Mikola
e333fc0357
Strip newlines from exception messages for more concise failures
2015-08-14 12:07:23 -04:00
Derick Rethans
fdfbdb1308
Added the error message to the failure cases.
...
This makes it much easier to debug what goes wrong, en-masse.
2015-08-14 11:59:46 -04:00
Hannes Magnusson
321ab56138
Skip test when not using the test vms
2015-08-03 13:57:22 -07:00
Jeremy Mikola
888b5dc56e
PHP 5.3 compatibility for tools.php
2015-07-29 11:24:43 -04:00
Jeremy Mikola
194bbbd164
PHPC-311: Rename from/toArray() functions to from/toPHP()
2015-07-14 19:52:24 -04:00
Jeremy Mikola
6eb0944565
PHPC-319: Convert top-level documents to stdClass by default
...
Update tests to expect stdClass for documents. Debug handlers and the Server getter methods will still decode documents as native arrays.
2015-07-11 00:38:05 -04:00
Jeremy Mikola
d34a09edf1
Use plural property name to store list of Address objects
2015-07-10 23:55:50 -04:00
Hannes Magnusson
5a4ca41f43
Don't start/stop servers on travis. We don't use MO here yet
2015-07-07 15:06:01 -07:00
Hannes Magnusson
5c18ea5c0e
Add the START() servers to PHONGO-SERVERS, and remove it with DELETE()
...
This is needed so the $id becomes a constant in the test itself,
not only in the skipif section.
2015-07-07 12:59:51 -07:00
Hannes Magnusson
ed1cd1e30b
PHPC-309: Bump tests
2015-06-30 10:04:36 -07:00
Hannes Magnusson
f41dc80601
PHPC-308: Failed getmore should throw exception
2015-06-09 16:12:43 -07:00
Hannes Magnusson
30f51f19c1
Cluster tests are slow
2015-05-22 11:50:33 -07:00
Hannes Magnusson
0e3090460f
Move MO host resolving to tools
2015-05-22 11:50:33 -07:00
Hannes Magnusson
abecb2df7e
PHPC-304: Add a failGetMore trigger
2015-05-22 11:50:33 -07:00
Hannes Magnusson
0f4cb34ea2
These are no longer used
2015-05-22 11:50:32 -07:00
Hannes Magnusson
7f8a8edb36
Add a helper to know if we are in predictable (vagrant) env or not
2015-05-18 11:34:41 -07:00
Hannes Magnusson
fd6dab94fc
PHPC-279: Add 2.4 (and 2.6) to build matrix and ensure test suite compatibility
...
Added "STANDALONE_24" and "STANDALONE_26" URI constants
2015-05-12 15:37:06 -07:00
Hannes Magnusson
60fdf52e1d
PHPC-241: mongodb.debug improvements
2015-04-24 11:51:09 -07:00
Hannes Magnusson
8364cd4d77
PHPC-270: add TESTCOMMANDS() skipif to confirm mongod is running with required options
2015-04-23 19:56:37 -07:00
Hannes Magnusson
499bae18b4
PHPC-268: Add NEEDS() function to check if that environment is available
2015-04-23 19:22:14 -07:00
Hannes Magnusson
d2eb4c8634
PHPC-247: Remove on-the-fly composer generated fixtures
2015-04-23 16:13:36 -07:00