Skip to content

Commit b0ea446

Browse files
committed
Add server selections tests for RSGhost
JAVA-4420
1 parent 6ab9e32 commit b0ea446

File tree

2 files changed

+36
-0
lines changed
  • driver-core/src/test/resources/server-selection/server_selection/Unknown

2 files changed

+36
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"topology_description": {
3+
"type": "Unknown",
4+
"servers": [
5+
{
6+
"address": "a:27017",
7+
"avg_rtt_ms": 5,
8+
"type": "RSGhost"
9+
}
10+
]
11+
},
12+
"operation": "read",
13+
"read_preference": {
14+
"mode": "Nearest"
15+
},
16+
"suitable_servers": [],
17+
"in_latency_window": []
18+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"topology_description": {
3+
"type": "Unknown",
4+
"servers": [
5+
{
6+
"address": "a:27017",
7+
"avg_rtt_ms": 5,
8+
"type": "RSGhost"
9+
}
10+
]
11+
},
12+
"operation": "write",
13+
"read_preference": {
14+
"mode": "Nearest"
15+
},
16+
"suitable_servers": [],
17+
"in_latency_window": []
18+
}

0 commit comments

Comments
 (0)