Removed directConnection workaround in SRV spec tests (#727)
This commit is contained in:
parent
e3771587c3
commit
0fa86c8ee1
@ -105,12 +105,6 @@ def create_test(test_case):
|
||||
# tests.
|
||||
copts['tlsAllowInvalidHostnames'] = True
|
||||
|
||||
# The SRV spec tests assume drivers auto discover replica set
|
||||
# members. This should be removed during PYTHON-2679.
|
||||
if not self.load_balanced and (
|
||||
'directconnection' not in result['options']):
|
||||
copts['directConnection'] = False
|
||||
|
||||
client = MongoClient(uri, **copts)
|
||||
wait_until(
|
||||
lambda: hosts == client.nodes,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user