File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -501,6 +501,9 @@ def test_repr(self):
501501 self .assertEqual (eval (the_repr ), client )
502502
503503 def test_getters (self ):
504+ if (client_context .version >= (3 , 7 , 2 )
505+ and client_context .auth_enabled and client_context .is_rs ):
506+ raise SkipTest ("Disabled due to SERVER-32845" )
504507 wait_until (lambda : client_context .nodes == self .client .nodes ,
505508 "find all nodes" )
506509
Original file line number Diff line number Diff line change @@ -231,6 +231,9 @@ def test_threshold_validation(self):
231231 localthresholdms = - 1 )
232232
233233 def test_zero_latency (self ):
234+ if (client_context .version >= (3 , 7 , 2 )
235+ and client_context .auth_enabled and client_context .is_rs ):
236+ raise SkipTest ("Disabled due to SERVER-32845" )
234237 ping_times = set ()
235238 # Generate unique ping times.
236239 while len (ping_times ) < len (self .client .nodes ):
Original file line number Diff line number Diff line change @@ -111,13 +111,18 @@ def test_properties(self):
111111 c .admin .command ('ping' )
112112
113113 wait_until (lambda : c .primary == self .primary , "discover primary" )
114- wait_until (lambda : c .arbiters == self .arbiters , "discover arbiters" )
115114 wait_until (lambda : c .secondaries == self .secondaries ,
116115 "discover secondaries" )
117116
117+ # SERVER-32845
118+ if not (client_context .version >= (3 , 7 , 2 )
119+ and client_context .auth_enabled and client_context .is_rs ):
120+ wait_until (lambda : c .arbiters == self .arbiters ,
121+ "discover arbiters" )
122+ self .assertEqual (c .arbiters , self .arbiters )
123+
118124 self .assertEqual (c .primary , self .primary )
119125 self .assertEqual (c .secondaries , self .secondaries )
120- self .assertEqual (c .arbiters , self .arbiters )
121126 self .assertEqual (c .max_pool_size , 100 )
122127
123128 # Make sure MongoClient's properties are copied to Database and
You can’t perform that action at this time.
0 commit comments