Commit Graph

66 Commits

Author SHA1 Message Date
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
Jeremy Mikola
ceaff59ec0 Implement "clientHosts" phase for mo-tests 2015-10-01 14:18:57 -04:00
Jeremy Mikola
f072a5311e Support "delete" operation in mo-tests 2015-10-01 14:18:57 -04:00
Jeremy Mikola
a7a41d9daa Rename "findOne" to "find" in mo-tests
See: estolfo/mo-tests@c2f40b19a1
2015-10-01 14:18:57 -04:00
Jeremy Mikola
a3e755083b Fix exception throwing in mo-tests conversion script 2015-10-01 14:18:57 -04:00
Jeremy Mikola
88e95864e4 LDAP VM does not require python-pip (or epel) 2015-06-29 15:02:34 -04:00
Hannes Magnusson
6b7081713a install mongo-c-driver required building blocks 2015-06-09 16:13:03 -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
aace100516 PHPC-291: Add a script to convert mo-tests (JSON) to PHPT
Usage:
	find ./tmp/mo-tests -name \*.json | xargs php scripts/convert-mo-tests.php
2015-05-22 11:50:33 -07:00
Hannes Magnusson
e800385a3e Fix server IDs 2015-05-18 11:34:27 -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
Jeremy Mikola
86e046eeef Mongo Orchestration now works with PyMongo 3.0 2015-04-21 17:45:51 -04:00
Hannes Magnusson
58833def10 Install ext/zlib so we can pecl install .tgz 2015-04-10 13:55:38 -07:00
Hannes Magnusson
53852be641 mo will automatically upgrade pymongo -- we need to downgrade 2015-04-10 11:54:33 -07:00
Hannes Magnusson
22fad87e5c mongo-orchestration isn't happy about the recent pymongo3.0 release
See https://github.com/10gen/mongo-orchestration/issues/188
2015-04-10 11:36:15 -07:00
Hannes Magnusson
1b256699df PHPC-234: Run test suite automatically on FreeBSD 10.1 2015-04-09 21:00:17 -07:00
Hannes Magnusson
3951055319 Initial script to provision on FreeBSD 2015-04-09 15:31:03 -07:00
Hannes Magnusson
cb9c823b01 Initial script to provision on Windows 2015-04-09 15:30:23 -07:00
Hannes Magnusson
569c01eb02 PHPC-80: Create distcheck target 2015-04-08 17:49:23 -07:00
Hannes Magnusson
45bf77cb2d This apt-get update is slow -- no need to execute it all the time 2015-04-03 12:36:02 -07:00
Hannes Magnusson
c615866b5c Include usable gdbinit 2015-04-01 14:52:24 -07:00
Hannes Magnusson
aaca0528e3 Make sure we install the latest package in case of multiple rebuilds of same name 2015-03-31 13:08:29 -07:00
Hannes Magnusson
e0d1c4b2bd PHPC-218: Provision ubuntu image and install & run the test suite 2015-03-30 15:58:36 -07:00
Hannes Magnusson
469aa9d388 No need to sudo, run the scripts as priveleged 2015-03-30 15:56:11 -07:00
Hannes Magnusson
4f693030b9 PHPC-180: Replace this Orchestration wrapper with significantly simpler code
We no create a /tmp/PHONGO-SERVERS.json file upon launching the servers
which stores the server IDs and connection string (including auth).
This makes it much faster to look up the available servers
2015-03-16 20:28:39 -07:00
Hannes Magnusson
aa620d740a Use underscore for the id so we can declare them as constants in php 2015-03-16 20:28:28 -07:00
Hannes Magnusson
0e3fae876a Use readable name for the replicaset nodes 2015-03-16 16:49:23 -07:00
Jeremy Mikola
0d25dfad8f Update Ubuntu's package repository before installing 2015-03-12 19:47:21 -04:00
Hannes Magnusson
3bc8c4fa95 MO now actually creates this initial user, use correct subject to fix the X509 tests 2015-03-11 10:40:15 -07:00
Hannes Magnusson
a9823e706f Ignore me. Trim trailing space
This has been annoying me for a long time, especially the '<?php '
2015-02-19 13:57:58 -08:00
Hannes Magnusson
9b5cd34b90 PHPC-144: MO first-user changes
MO now creates an initial user that collides with the user and
certificate we used for this.
MO really needs to generate a different internal user as most people
will do as we did - take the user+cert from mongo jstests - rather then
mucking around and create the chain ourself.
To work around this, we create a bogus user (to trigger MO to create
its user) but use the internal MO user as it is the one we want
2015-01-29 10:29:58 -08:00
Hannes Magnusson
60b574550a Most of our issues with MO seem to be fixed in master 2015-01-27 16:04:10 -08:00
Hannes Magnusson
406ab7a821 PHPC-142: add 'list-servers' target to enumerate all running MO servers 2015-01-27 15:44:11 -08:00
Hannes Magnusson
ea23e5d3fe PHPC-128: MO presets directory needs to be configurable
various other travis fixes, skipping etc
2015-01-06 21:56:43 -08:00
Hannes Magnusson
f2681a1ecc PHPC-128: more travis debugging 2015-01-06 20:47:38 -08:00
Hannes Magnusson
f0b5e2e0b1 PHPC-128: Debugging why mo on travis doesn't start 2015-01-06 19:47:20 -08:00
Hannes Magnusson
d25aaaaf7c PHPC-128: use consistent env variable 2015-01-06 19:13:10 -08:00