Skip to content

Commit e1d4351

Browse files
committed
Sync tests: reformatting
1 parent a96faf6 commit e1d4351

19 files changed

+115
-115
lines changed

driver-core/src/test/resources/initial-dns-seedlist-discovery/replica-set/direct-connection-false.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
"seeds": [
44
"localhost.test.build.10gen.cc:27017"
55
],
6-
"hosts" : [
6+
"hosts": [
77
"localhost:27017",
88
"localhost:27018",
99
"localhost:27019"
1010
],
11-
"options" : {
12-
"ssl" : true,
13-
"directConnection" : false
11+
"options": {
12+
"ssl": true,
13+
"directConnection": false
1414
},
15-
"ping" : true
15+
"ping": true
1616
}

driver-core/src/test/resources/initial-dns-seedlist-discovery/replica-set/encoded-userinfo-and-db.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
"localhost:27018",
99
"localhost:27019"
1010
],
11-
"options" : {
12-
"replicaSet" : "repl0",
13-
"ssl" : true
11+
"options": {
12+
"replicaSet": "repl0",
13+
"ssl": true
1414
},
15-
"parsed_options" : {
16-
"user" : "b*b@f3tt=",
17-
"password" : "$4to@L8=MC",
18-
"db" : "mydb?"
15+
"parsed_options": {
16+
"user": "b*b@f3tt=",
17+
"password": "$4to@L8=MC",
18+
"db": "mydb?"
1919
},
20-
"ping" : false,
21-
"comment" : "Encoded user, pass, and DB parse correctly"
20+
"ping": false,
21+
"comment": "Encoded user, pass, and DB parse correctly"
2222
}

driver-core/src/test/resources/initial-dns-seedlist-discovery/replica-set/loadBalanced-false-txt.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
"seeds": [
44
"localhost.test.build.10gen.cc:27017"
55
],
6-
"hosts" : [
6+
"hosts": [
77
"localhost:27017",
88
"localhost:27018",
99
"localhost:27019"
1010
],
11-
"options" : {
12-
"loadBalanced" : false,
13-
"ssl" : true
11+
"options": {
12+
"loadBalanced": false,
13+
"ssl": true
1414
},
15-
"ping" : true
15+
"ping": true
1616
}

driver-core/src/test/resources/initial-dns-seedlist-discovery/replica-set/longer-parent-in-return.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
"seeds": [
44
"localhost.sub.test.build.10gen.cc:27017"
55
],
6-
"hosts" : [
6+
"hosts": [
77
"localhost:27017",
88
"localhost:27018",
99
"localhost:27019"
1010
],
11-
"options" : {
12-
"replicaSet" : "repl0",
13-
"ssl" : true
11+
"options": {
12+
"replicaSet": "repl0",
13+
"ssl": true
1414
},
15-
"ping" : true,
16-
"comment" : "Is correct, as returned host name shared the URI root \"test.build.10gen.cc\"."
15+
"ping": true,
16+
"comment": "Is correct, as returned host name shared the URI root \"test.build.10gen.cc\"."
1717
}

driver-core/src/test/resources/initial-dns-seedlist-discovery/replica-set/one-result-default-port.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
"seeds": [
44
"localhost.test.build.10gen.cc:27017"
55
],
6-
"hosts" : [
6+
"hosts": [
77
"localhost:27017",
88
"localhost:27018",
99
"localhost:27019"
1010
],
11-
"options" : {
12-
"replicaSet" : "repl0",
13-
"ssl" : true
11+
"options": {
12+
"replicaSet": "repl0",
13+
"ssl": true
1414
},
15-
"ping" : true
15+
"ping": true
1616
}

driver-core/src/test/resources/initial-dns-seedlist-discovery/replica-set/one-txt-record-multiple-strings.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
"seeds": [
44
"localhost.test.build.10gen.cc:27017"
55
],
6-
"hosts" : [
6+
"hosts": [
77
"localhost:27017",
88
"localhost:27018",
99
"localhost:27019"
1010
],
11-
"options" : {
12-
"replicaSet" : "repl0",
13-
"ssl" : true
11+
"options": {
12+
"replicaSet": "repl0",
13+
"ssl": true
1414
},
15-
"ping" : true
15+
"ping": true
1616
}

driver-core/src/test/resources/initial-dns-seedlist-discovery/replica-set/one-txt-record.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
"seeds": [
44
"localhost.test.build.10gen.cc:27017"
55
],
6-
"hosts" : [
6+
"hosts": [
77
"localhost:27017",
88
"localhost:27018",
99
"localhost:27019"
1010
],
11-
"options" : {
12-
"replicaSet" : "repl0",
13-
"authSource" : "thisDB",
14-
"ssl" : true
11+
"options": {
12+
"replicaSet": "repl0",
13+
"authSource": "thisDB",
14+
"ssl": true
1515
},
16-
"ping" : true
16+
"ping": true
1717
}

driver-core/src/test/resources/initial-dns-seedlist-discovery/replica-set/srv-service-name.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"localhost.test.build.10gen.cc:27017",
55
"localhost.test.build.10gen.cc:27018"
66
],
7-
"hosts" : [
7+
"hosts": [
88
"localhost:27017",
99
"localhost:27018",
1010
"localhost:27019"
1111
],
12-
"options" : {
13-
"ssl" : true,
14-
"srvServiceName" : "customname"
12+
"options": {
13+
"ssl": true,
14+
"srvServiceName": "customname"
1515
},
16-
"ping" : true
16+
"ping": true
1717
}

driver-core/src/test/resources/initial-dns-seedlist-discovery/replica-set/srvMaxHosts-equal_to_srv_records.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
"localhost.test.build.10gen.cc:27017",
66
"localhost.test.build.10gen.cc:27018"
77
],
8-
"hosts" : [
8+
"hosts": [
99
"localhost:27017",
1010
"localhost:27018",
1111
"localhost:27019"
1212
],
13-
"options" : {
14-
"srvMaxHosts" : 2,
15-
"ssl" : true
13+
"options": {
14+
"srvMaxHosts": 2,
15+
"ssl": true
1616
},
17-
"ping" : true
17+
"ping": true
1818
}

driver-core/src/test/resources/initial-dns-seedlist-discovery/replica-set/srvMaxHosts-greater_than_srv_records.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"localhost.test.build.10gen.cc:27017",
55
"localhost.test.build.10gen.cc:27018"
66
],
7-
"hosts" : [
7+
"hosts": [
88
"localhost:27017",
99
"localhost:27018",
1010
"localhost:27019"
1111
],
12-
"options" : {
13-
"srvMaxHosts" : 3,
14-
"ssl" : true
12+
"options": {
13+
"srvMaxHosts": 3,
14+
"ssl": true
1515
},
16-
"ping" : true
16+
"ping": true
1717
}

0 commit comments

Comments
 (0)