PHP Classes

File: vendor/mongodb/mongodb/tests/SpecTests/retryable-reads/listDatabaseObjects.json

Recommend this page to a friend!
  Classes of walid laggoune   MongoDB Queue PHP Query Execute   vendor/mongodb/mongodb/tests/SpecTests/retryable-reads/listDatabaseObjects.json   Download  
File: vendor/mongodb/mongodb/tests/SpecTests/retryable-reads/listDatabaseObjects.json
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: MongoDB Queue PHP Query Execute
Query and execute multiple queries using MongoDB
Author: By
Last change:
Date: 4 years ago
Size: 2,999 bytes
 

Contents

Class file image Download
{ "runOn": [ { "minServerVersion": "4.0", "topology": [ "single", "replicaset" ] }, { "minServerVersion": "4.1.7", "topology": [ "sharded" ] } ], "database_name": "retryable-reads-tests", "collection_name": "coll", "data": [], "tests": [ { "description": "ListDatabaseObjects succeeds on first attempt", "operations": [ { "name": "listDatabaseObjects", "object": "client" } ], "expectations": [ { "command_started_event": { "command": { "listDatabases": 1 } } } ] }, { "description": "ListDatabaseObjects succeeds on second attempt", "failPoint": { "configureFailPoint": "failCommand", "mode": { "times": 1 }, "data": { "failCommands": [ "listDatabases" ], "closeConnection": true } }, "operations": [ { "name": "listDatabaseObjects", "object": "client" } ], "expectations": [ { "command_started_event": { "command": { "listDatabases": 1 } } }, { "command_started_event": { "command": { "listDatabases": 1 } } } ] }, { "description": "ListDatabaseObjects fails on first attempt", "clientOptions": { "retryReads": false }, "failPoint": { "configureFailPoint": "failCommand", "mode": { "times": 1 }, "data": { "failCommands": [ "listDatabases" ], "closeConnection": true } }, "operations": [ { "name": "listDatabaseObjects", "object": "client", "error": true } ], "expectations": [ { "command_started_event": { "command": { "listDatabases": 1 } } } ] }, { "description": "ListDatabaseObjects fails on second attempt", "failPoint": { "configureFailPoint": "failCommand", "mode": { "times": 2 }, "data": { "failCommands": [ "listDatabases" ], "closeConnection": true } }, "operations": [ { "name": "listDatabaseObjects", "object": "client", "error": true } ], "expectations": [ { "command_started_event": { "command": { "listDatabases": 1 } } }, { "command_started_event": { "command": { "listDatabases": 1 } } } ] } ] }