From d526ea43be77c63f30af8ebf67f1a28824e6a07e Mon Sep 17 00:00:00 2001 From: Jeremy Mikola Date: Wed, 10 Apr 2024 10:24:01 -0400 Subject: [PATCH] PHPLIB-1424: Fix potentially racy w:0 unified tests Synced with mongodb/specifications@cd08b7248eb4e3ab901a8f7905874da41b908f7c --- .../unacknowledgedBulkWrite.json | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/tests/UnifiedSpecTests/command-monitoring/unacknowledgedBulkWrite.json b/tests/UnifiedSpecTests/command-monitoring/unacknowledgedBulkWrite.json index 4c16d6df1..782cb84a5 100644 --- a/tests/UnifiedSpecTests/command-monitoring/unacknowledgedBulkWrite.json +++ b/tests/UnifiedSpecTests/command-monitoring/unacknowledgedBulkWrite.json @@ -1,6 +1,6 @@ { "description": "unacknowledgedBulkWrite", - "schemaVersion": "1.0", + "schemaVersion": "1.7", "createEntities": [ { "client": { @@ -64,11 +64,29 @@ ], "ordered": false } + }, + { + "name": "find", + "object": "collection", + "arguments": { + "filter": {} + }, + "expectResult": [ + { + "_id": 1, + "x": 11 + }, + { + "_id": "unorderedBulkWriteInsertW0", + "x": 44 + } + ] } ], "expectEvents": [ { "client": "client", + "ignoreExtraEvents": true, "events": [ { "commandStartedEvent": {