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):
581
581
coll .insert_one ({"_id" : 1 })
582
582
583
583
# 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
585
587
threads = []
586
588
for _ in range (4 ):
587
589
threads .append (AutoAuthenticateThread (coll ))
Original file line number Diff line number Diff line change 61
61
"tests" : [
62
62
{
63
63
"description" : " getnonce is observed with observeSensitiveCommands=true" ,
64
+ "runOnRequirements" : [
65
+ {
66
+ "maxServerVersion" : " 6.1.99"
67
+ }
68
+ ],
64
69
"operations" : [
65
70
{
66
71
"name" : " runCommand" ,
106
111
},
107
112
{
108
113
"description" : " getnonce is not observed with observeSensitiveCommands=false" ,
114
+ "runOnRequirements" : [
115
+ {
116
+ "maxServerVersion" : " 6.1.99"
117
+ }
118
+ ],
109
119
"operations" : [
110
120
{
111
121
"name" : " runCommand" ,
127
137
},
128
138
{
129
139
"description" : " getnonce is not observed by default" ,
140
+ "runOnRequirements" : [
141
+ {
142
+ "maxServerVersion" : " 6.1.99"
143
+ }
144
+ ],
130
145
"operations" : [
131
146
{
132
147
"name" : " runCommand" ,
You can’t perform that action at this time.
0 commit comments