PYTHON-3523 Resync unified test format tests for getnonce (#1141)
This commit is contained in:
parent
124dee66c3
commit
ec074010d8
@ -581,7 +581,9 @@ class TestSCRAM(IntegrationTest):
|
||||
coll.insert_one({"_id": 1})
|
||||
|
||||
# The first thread to call find() will authenticate
|
||||
coll = rs_or_single_client().db.test
|
||||
client = rs_or_single_client()
|
||||
self.addCleanup(client.close)
|
||||
coll = client.db.test
|
||||
threads = []
|
||||
for _ in range(4):
|
||||
threads.append(AutoAuthenticateThread(coll))
|
||||
|
||||
@ -61,6 +61,11 @@
|
||||
"tests": [
|
||||
{
|
||||
"description": "getnonce is observed with observeSensitiveCommands=true",
|
||||
"runOnRequirements": [
|
||||
{
|
||||
"maxServerVersion": "6.1.99"
|
||||
}
|
||||
],
|
||||
"operations": [
|
||||
{
|
||||
"name": "runCommand",
|
||||
@ -106,6 +111,11 @@
|
||||
},
|
||||
{
|
||||
"description": "getnonce is not observed with observeSensitiveCommands=false",
|
||||
"runOnRequirements": [
|
||||
{
|
||||
"maxServerVersion": "6.1.99"
|
||||
}
|
||||
],
|
||||
"operations": [
|
||||
{
|
||||
"name": "runCommand",
|
||||
@ -127,6 +137,11 @@
|
||||
},
|
||||
{
|
||||
"description": "getnonce is not observed by default",
|
||||
"runOnRequirements": [
|
||||
{
|
||||
"maxServerVersion": "6.1.99"
|
||||
}
|
||||
],
|
||||
"operations": [
|
||||
{
|
||||
"name": "runCommand",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user