Skip to content

Commit 3257ebd

Browse files
committed
Use mongo-orchestration configs from drivers-evergreen-tools
1 parent 7e59e3e commit 3257ebd

File tree

8 files changed

+165
-272
lines changed

8 files changed

+165
-272
lines changed

.evergreen/config.yml

Lines changed: 91 additions & 119 deletions
Large diffs are not rendered by default.
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"id": "repl0",
3+
"name": "mongod",
4+
"members": [
5+
{
6+
"procParams": {
7+
"ipv6": true,
8+
"logappend": true,
9+
"logpath": "/tmp/MO/REPLICASET/3500/mongod.log",
10+
"journal": true,
11+
"port": 3500,
12+
"bind_ip": "::,0.0.0.0"
13+
},
14+
"rsParams": {
15+
"tags": {
16+
"ordinal": "one",
17+
"dc": "ny"
18+
}
19+
},
20+
"server_id": "RS-OLD-one"
21+
},
22+
{
23+
"procParams": {
24+
"ipv6": true,
25+
"logappend": true,
26+
"logpath": "/tmp/MO/REPLICASET/3501/mongod.log",
27+
"journal": true,
28+
"port": 3501,
29+
"bind_ip": "::,0.0.0.0"
30+
},
31+
"rsParams": {
32+
"tags": {
33+
"ordinal": "two",
34+
"dc": "pa"
35+
}
36+
},
37+
"server_id": "RS-OLD-two"
38+
},
39+
{
40+
"procParams": {
41+
"ipv6": true,
42+
"logappend": true,
43+
"logpath": "/tmp/MO/REPLICASET/3502/mongod.log",
44+
"journal": true,
45+
"port": 3502,
46+
"bind_ip": "::,0.0.0.0"
47+
},
48+
"rsParams": {
49+
"arbiterOnly": true
50+
51+
},
52+
"server_id": "RS-OLD-arbiter"
53+
}
54+
]
55+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"name": "mongod",
3+
"id" : "STANDALONE",
4+
"procParams": {
5+
"ipv6": true,
6+
"logappend": true,
7+
"logpath": "/tmp/MO/STANDALONE/OLD/mongod.log",
8+
"journal": true,
9+
"port": 2700,
10+
"bind_ip": "::,0.0.0.0",
11+
"setParameter": {"enableTestCommands": 1}
12+
}
13+
}

.evergreen/run-orchestration.sh

Lines changed: 0 additions & 78 deletions
This file was deleted.

.evergreen/start-orchestration.sh

Lines changed: 0 additions & 69 deletions
This file was deleted.

tests/replicaset/server-001.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ var_dump($info["me"] == $server->getHost() . ":" . $server->getPort());
4848
<?php exit(0); ?>
4949
--EXPECTF--
5050
string(%d) "%s"
51-
dc: pa
51+
dc: ny
5252
ordinal: one
5353
int(%d)
5454
int(%d)
@@ -58,7 +58,7 @@ bool(false)
5858
bool(false)
5959
bool(false)
6060
bool(false)
61-
string(%d) "REPLICASET%S"
61+
string(%d) "repl0%S"
6262
array(2) {
6363
[0]=>
6464
string(%d) "%s:%d"

tests/replicaset/server-002.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ var_dump($info["me"] == $server->getHost() . ":" . $server->getPort());
4343
<?php exit(0); ?>
4444
--EXPECTF--
4545
string(%d) "%s"
46-
dc: nyc
46+
dc: pa
4747
ordinal: two
4848
int(%d)
4949
int(%d)
@@ -53,7 +53,7 @@ bool(true)
5353
bool(false)
5454
bool(false)
5555
bool(false)
56-
string(%s) "REPLICASET%S"
56+
string(%s) "repl0%S"
5757
array(2) {
5858
[0]=>
5959
string(%d) "%s:%d"

tests/server/server-getTags-002.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ echo "ordinal: ", array_key_exists('ordinal', $tags) ? $tags['ordinal'] : 'not s
2222
===DONE===
2323
<?php exit(0); ?>
2424
--EXPECTF--
25-
dc: pa
25+
dc: ny
2626
ordinal: one
27-
dc: nyc
27+
dc: pa
2828
ordinal: two
2929
===DONE===

0 commit comments

Comments
 (0)