File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed
unified-test-format/valid-pass Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -581,7 +581,9 @@ def test_scram_threaded(self):
581581 coll .insert_one ({"_id" : 1 })
582582
583583 # The first thread to call find() will authenticate
584- coll = rs_or_single_client ().db .test
584+ client = rs_or_single_client ()
585+ self .addCleanup (client .close )
586+ coll = client .db .test
585587 threads = []
586588 for _ in range (4 ):
587589 threads .append (AutoAuthenticateThread (coll ))
Original file line number Diff line number Diff line change 6161 "tests" : [
6262 {
6363 "description" : " getnonce is observed with observeSensitiveCommands=true" ,
64+ "runOnRequirements" : [
65+ {
66+ "maxServerVersion" : " 6.1.99"
67+ }
68+ ],
6469 "operations" : [
6570 {
6671 "name" : " runCommand" ,
106111 },
107112 {
108113 "description" : " getnonce is not observed with observeSensitiveCommands=false" ,
114+ "runOnRequirements" : [
115+ {
116+ "maxServerVersion" : " 6.1.99"
117+ }
118+ ],
109119 "operations" : [
110120 {
111121 "name" : " runCommand" ,
127137 },
128138 {
129139 "description" : " getnonce is not observed by default" ,
140+ "runOnRequirements" : [
141+ {
142+ "maxServerVersion" : " 6.1.99"
143+ }
144+ ],
130145 "operations" : [
131146 {
132147 "name" : " runCommand" ,
You can’t perform that action at this time.
0 commit comments