...

Text file src/go.mongodb.org/mongo-driver/testdata/unified-test-format/valid-fail/entity-client-storeEventsAsEntities-conflict_within_different_array.json

Documentation: go.mongodb.org/mongo-driver/testdata/unified-test-format/valid-fail

     1{
     2  "description": "entity-client-storeEventsAsEntities-conflict_within_different_array",
     3  "schemaVersion": "1.2",
     4  "createEntities": [
     5    {
     6      "client": {
     7        "id": "client0",
     8        "storeEventsAsEntities": [
     9          {
    10            "id": "events",
    11            "events": [
    12              "PoolCreatedEvent",
    13              "PoolReadyEvent",
    14              "PoolClearedEvent",
    15              "PoolClosedEvent"
    16            ]
    17          }
    18        ]
    19      }
    20    },
    21    {
    22      "client": {
    23        "id": "client1",
    24        "storeEventsAsEntities": [
    25          {
    26            "id": "events",
    27            "events": [
    28              "CommandStartedEvent",
    29              "CommandSucceededEvent",
    30              "CommandFailedEvent"
    31            ]
    32          }
    33        ]
    34      }
    35    }
    36  ],
    37  "tests": [
    38    {
    39      "description": "foo",
    40      "operations": []
    41    }
    42  ]
    43}

View as plain text