diff --git a/test/utils_selection_tests.py b/test/utils_selection_tests.py
|
index 0006f6f6..de10312c 100644
|
--- a/test/utils_selection_tests.py
|
+++ b/test/utils_selection_tests.py
|
@@ -63,7 +63,7 @@ def make_server_description(server, hosts):
|
return ServerDescription(clean_node(server['address']), Hello({}))
|
|
hello_response = {'ok': True, 'hosts': hosts}
|
- if server_type != "Standalone" and server_type != "Mongos":
|
+ if server_type not in ("Standalone", "Mongos", "RSGhost", "RSGhost"):
|
hello_response['setName'] = "rs"
|
|
if server_type == "RSPrimary":
|
@@ -72,6 +72,8 @@ def make_server_description(server, hosts):
|
hello_response['secondary'] = True
|
elif server_type == "Mongos":
|
hello_response['msg'] = 'isdbgrid'
|
+ elif server_type == "RSGhost":
|
+ hello_response['isreplicaset'] = True
|
|
hello_response['lastWrite'] = {
|
'lastWriteDate': make_last_write_date(server)
|