Skip to content

Commit fa37103

Browse files
p-mongop
andauthored
RUBY-2850 Add server selection spec test to ensure that RSGhost servers are not selectable (#2389)
Co-authored-by: Oleg Pudeyev <[email protected]>
1 parent abe3837 commit fa37103

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
topology_description:
2+
type: Unknown
3+
servers:
4+
- address: a:27017
5+
avg_rtt_ms: 5
6+
type: RSGhost
7+
operation: read
8+
read_preference:
9+
mode: Nearest
10+
suitable_servers: []
11+
in_latency_window: []
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
topology_description:
2+
type: Unknown
3+
servers:
4+
- address: a:27017
5+
avg_rtt_ms: 5
6+
type: RSGhost
7+
operation: write
8+
read_preference:
9+
mode: Nearest
10+
suitable_servers: []
11+
in_latency_window: []

0 commit comments

Comments
 (0)